Delete base/prefs and update callers to use components.

Deletes the forwarding headers in base/prefs.

Updates the remaining users of base/prefs includes to use components/prefs.
Sort headers in updated files.

Move PrefServiceFactory out of the base namespace. Update users.

Update all preprocessor stuff in components/prefs to change BASE_PREFS_ to
COMPONENTS_PREFS_.

Add components/prefs to DEPS file of directories where checkdeps fails after
the update.

BUG=583034
Reland of http://crrev.com/1662523004#ps40001 with fix.
[email protected]

Review URL: https://codereview.chromium.org/1668463002

Cr-Commit-Position: refs/heads/master@{#373197}
diff --git a/chromecast/browser/pref_service_helper.h b/chromecast/browser/pref_service_helper.h
index cf41a92..1546cc8 100644
--- a/chromecast/browser/pref_service_helper.h
+++ b/chromecast/browser/pref_service_helper.h
@@ -12,9 +12,9 @@
 #include "base/files/file_path.h"
 #include "base/memory/ref_counted.h"
 #include "base/memory/scoped_ptr.h"
-#include "base/prefs/pref_service.h"
 #include "base/threading/sequenced_worker_pool.h"
 #include "base/threading/thread_checker.h"
+#include "components/prefs/pref_service.h"
 
 class PrefRegistrySimple;