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

Unified Diff: components/translate/core/browser/translate_prefs_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
Index: components/translate/core/browser/translate_prefs_unittest.cc
diff --git a/components/translate/core/browser/translate_prefs_unittest.cc b/components/translate/core/browser/translate_prefs_unittest.cc
index b0bc6722044b3cd1018c83f70bbec46516f01ae0..8ef04f99ec93bcaf71cd16bd51d41e643e4f6ef5 100644
--- a/components/translate/core/browser/translate_prefs_unittest.cc
+++ b/components/translate/core/browser/translate_prefs_unittest.cc
@@ -13,8 +13,8 @@
#include "base/test/scoped_feature_list.h"
#include "base/values.h"
#include "build/build_config.h"
-#include "components/pref_registry/testing_pref_service_syncable.h"
#include "components/prefs/scoped_user_pref_update.h"
+#include "components/sync_preferences/testing_pref_service_syncable.h"
#include "components/translate/core/browser/translate_download_manager.h"
#include "components/translate/core/browser/translate_prefs.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -29,7 +29,8 @@ namespace translate {
class TranslatePrefTest : public testing::Test {
protected:
- TranslatePrefTest() : prefs_(new user_prefs::TestingPrefServiceSyncable()) {
+ TranslatePrefTest()
+ : prefs_(new sync_preferences::TestingPrefServiceSyncable()) {
#if defined(OS_CHROMEOS)
const char* preferred_languages_prefs =
"settings.language.preferred_languages";
@@ -53,7 +54,7 @@ class TranslatePrefTest : public testing::Test {
return update.GetOldestDenialTime();
}
- std::unique_ptr<user_prefs::TestingPrefServiceSyncable> prefs_;
+ std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> prefs_;
std::unique_ptr<translate::TranslatePrefs> translate_prefs_;
// Shared time constants.

Powered by Google App Engine
This is Rietveld 408576698