Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: components/dom_distiller/standalone/content_extractor_browsertest.cc

Issue 2562733003: Remove duplicated user_prefs::TestingPrefServiceSyncable (Closed)
Patch Set: Fixed usage from .mm files Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/standalone/content_extractor_browsertest.cc
diff --git a/components/dom_distiller/standalone/content_extractor_browsertest.cc b/components/dom_distiller/standalone/content_extractor_browsertest.cc
index cbae88bcab0bd2cec43e3aa9382feb3677e93954..459c3d341b40c29dc6bd6565586905417f82cccb 100644
--- a/components/dom_distiller/standalone/content_extractor_browsertest.cc
+++ b/components/dom_distiller/standalone/content_extractor_browsertest.cc
@@ -28,7 +28,7 @@
#include "components/dom_distiller/core/task_tracker.h"
#include "components/leveldb_proto/proto_database.h"
#include "components/leveldb_proto/proto_database_impl.h"
-#include "components/pref_registry/testing_pref_service_syncable.h"
+#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
@@ -171,8 +171,8 @@ std::unique_ptr<DomDistillerService> CreateDomDistillerService(
options, file_to_url_map));
// Setting up PrefService for DistilledPagePrefs.
- user_prefs::TestingPrefServiceSyncable* pref_service =
- new user_prefs::TestingPrefServiceSyncable();
+ sync_preferences::TestingPrefServiceSyncable* pref_service =
+ new sync_preferences::TestingPrefServiceSyncable();
DistilledPagePrefs::RegisterProfilePrefs(pref_service->registry());
return std::unique_ptr<DomDistillerService>(new DomDistillerService(
« no previous file with comments | « components/dom_distiller/core/dom_distiller_request_view_base_unittest.cc ('k') | components/feedback/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698