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

Unified Diff: components/translate/core/browser/translate_ui_delegate_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/translate/core/browser/translate_ranker_unittest.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/browser/translate_ui_delegate_unittest.cc
diff --git a/components/translate/core/browser/translate_ui_delegate_unittest.cc b/components/translate/core/browser/translate_ui_delegate_unittest.cc
index 69142ba8d31004759c78fe4eeaf4d88487443002..b63cbd6d57097a27460a5565b2502f00bb037db0 100644
--- a/components/translate/core/browser/translate_ui_delegate_unittest.cc
+++ b/components/translate/core/browser/translate_ui_delegate_unittest.cc
@@ -12,7 +12,7 @@
#include "build/build_config.h"
#include "components/infobars/core/infobar.h"
#include "components/pref_registry/pref_registry_syncable.h"
-#include "components/pref_registry/testing_pref_service_syncable.h"
+#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "components/translate/core/browser/mock_translate_driver.h"
#include "components/translate/core/browser/translate_client.h"
#include "components/translate/core/browser/translate_infobar_delegate.h"
@@ -77,7 +77,7 @@ class TranslateUIDelegateTest : public ::testing::Test {
TranslateUIDelegateTest() : ::testing::Test() {}
void SetUp() override {
- pref_service_.reset(new user_prefs::TestingPrefServiceSyncable());
+ pref_service_.reset(new sync_preferences::TestingPrefServiceSyncable());
pref_service_->registry()->RegisterStringPref(
"settings.language.preferred_languages", std::string());
pref_service_->registry()->RegisterStringPref("intl.accept_languages",
@@ -97,7 +97,7 @@ class TranslateUIDelegateTest : public ::testing::Test {
MockTranslateDriver driver_;
std::unique_ptr<MockTranslateClient> client_;
- std::unique_ptr<user_prefs::TestingPrefServiceSyncable> pref_service_;
+ std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> pref_service_;
std::unique_ptr<TranslateManager> manager_;
std::unique_ptr<TranslateUIDelegate> delegate_;
« no previous file with comments | « components/translate/core/browser/translate_ranker_unittest.cc ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698