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

Unified Diff: components/suggestions/suggestions_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/blacklist_store_unittest.cc ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/suggestions_store_unittest.cc
diff --git a/components/suggestions/suggestions_store_unittest.cc b/components/suggestions/suggestions_store_unittest.cc
index dd95eacd0da3cc78711c7814b4aaca7fdc6322a6..0a991d05b31782780017f80bb26bd6e9605a16df 100644
--- a/components/suggestions/suggestions_store_unittest.cc
+++ b/components/suggestions/suggestions_store_unittest.cc
@@ -12,11 +12,11 @@
#include "base/memory/ptr_util.h"
#include "base/test/simple_test_clock.h"
#include "base/time/time.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 {
@@ -82,7 +82,7 @@ void ValidateSuggestions(const SuggestionsProfile& expected,
class SuggestionsStoreTest : public testing::Test {
public:
SuggestionsStoreTest()
- : pref_service_(new user_prefs::TestingPrefServiceSyncable) {}
+ : pref_service_(new sync_preferences::TestingPrefServiceSyncable) {}
void SetUp() override {
SuggestionsStore::RegisterProfilePrefs(pref_service_->registry());
@@ -95,7 +95,7 @@ class SuggestionsStoreTest : public testing::Test {
}
protected:
- std::unique_ptr<user_prefs::TestingPrefServiceSyncable> pref_service_;
+ std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> pref_service_;
std::unique_ptr<SuggestionsStore> suggestions_store_;
base::Time current_time;
« no previous file with comments | « components/suggestions/blacklist_store_unittest.cc ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698