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

Unified Diff: chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc

Issue 2459823002: [Sync] Rename syncable_prefs to sync_preferences. (Closed)
Patch Set: Created 4 years, 2 months 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: chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
diff --git a/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc b/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
index 82e1c65f2108fd1d2f1052e92e04182c01b7b700..50515b6a1156f07a1614ac61ea8016991a7adeb7 100644
--- a/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
+++ b/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
@@ -38,7 +38,7 @@
#include "components/signin/core/browser/fake_account_fetcher_service.h"
#include "components/signin/core/browser/fake_profile_oauth2_token_service.h"
#include "components/signin/core/browser/signin_manager.h"
-#include "components/syncable_prefs/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/notification_details.h"
#include "content/public/browser/notification_service.h"
@@ -155,8 +155,8 @@ class UserPolicySigninServiceTest : public testing::Test {
// Create a testing profile with cloud-policy-on-signin enabled, and bring
// up a UserCloudPolicyManager with a MockUserCloudPolicyStore.
- std::unique_ptr<syncable_prefs::TestingPrefServiceSyncable> prefs(
- new syncable_prefs::TestingPrefServiceSyncable());
+ std::unique_ptr<sync_preferences::TestingPrefServiceSyncable> prefs(
+ new sync_preferences::TestingPrefServiceSyncable());
chrome::RegisterUserProfilePrefs(prefs->registry());
// UserCloudPolicyManagerFactory isn't a real
@@ -168,7 +168,8 @@ class UserPolicySigninServiceTest : public testing::Test {
BuildCloudPolicyManager);
TestingProfile::Builder builder;
builder.SetPrefService(
- std::unique_ptr<syncable_prefs::PrefServiceSyncable>(std::move(prefs)));
+ std::unique_ptr<sync_preferences::PrefServiceSyncable>(
+ std::move(prefs)));
builder.AddTestingFactory(SigninManagerFactory::GetInstance(),
BuildFakeSigninManagerBase);
builder.AddTestingFactory(ProfileOAuth2TokenServiceFactory::GetInstance(),
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698