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

Unified Diff: components/suggestions/blacklist_store_unittest.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
« no previous file with comments | « components/suggestions/DEPS ('k') | components/suggestions/suggestions_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/blacklist_store_unittest.cc
diff --git a/components/suggestions/blacklist_store_unittest.cc b/components/suggestions/blacklist_store_unittest.cc
index fdcc0da90726334667108af567f07da116c53cbc..14caf0f6491d45935e52c9f08862a2715519cee4 100644
--- a/components/suggestions/blacklist_store_unittest.cc
+++ b/components/suggestions/blacklist_store_unittest.cc
@@ -10,11 +10,11 @@
#include "base/macros.h"
#include "base/test/histogram_tester.h"
-#include "components/pref_registry/testing_pref_service_syncable.h"
#include "components/suggestions/proto/suggestions.pb.h"
+#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "testing/gtest/include/gtest/gtest.h"
-using user_prefs::TestingPrefServiceSyncable;
+using sync_preferences::TestingPrefServiceSyncable;
namespace suggestions {
@@ -53,18 +53,18 @@ void ValidateSuggestions(const SuggestionsProfile& expected,
class BlacklistStoreTest : public testing::Test {
public:
BlacklistStoreTest()
- : pref_service_(new user_prefs::TestingPrefServiceSyncable) {}
+ : pref_service_(new sync_preferences::TestingPrefServiceSyncable) {}
void SetUp() override {
BlacklistStore::RegisterProfilePrefs(pref_service()->registry());
}
- user_prefs::TestingPrefServiceSyncable* pref_service() {
+ sync_preferences::TestingPrefServiceSyncable* pref_service() {
return pref_service_.get();
}
private:
- std::unique_ptr<user_prefs::TestingPrefServiceSyncable> pref_service_;
+ std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> pref_service_;
DISALLOW_COPY_AND_ASSIGN(BlacklistStoreTest);
};
« no previous file with comments | « components/suggestions/DEPS ('k') | components/suggestions/suggestions_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698