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

Unified Diff: chrome/browser/app_controller_mac_unittest.mm

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 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/app_controller_mac_unittest.mm
diff --git a/chrome/browser/app_controller_mac_unittest.mm b/chrome/browser/app_controller_mac_unittest.mm
index 1143c93983a10f58398412059a6b7550fa2199cb..0539ea4ac52828aaeaa4a0ea2951a6fff76ac9df 100644
--- a/chrome/browser/app_controller_mac_unittest.mm
+++ b/chrome/browser/app_controller_mac_unittest.mm
@@ -124,7 +124,8 @@ TEST_F(AppControllerTest, TestSigninMenuItemNoErrors) {
IDS_SYNC_MENU_SYNCED_LABEL, base::UTF8ToUTF16(username));
SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
signin->SetAuthenticatedAccountInfo(username, username);
- ProfileSyncService* sync = ProfileSyncServiceFactory::GetForProfile(profile_);
+ browser_sync::ProfileSyncService* sync =
+ ProfileSyncServiceFactory::GetForProfile(profile_);
sync->SetFirstSetupComplete();
[AppController updateSigninItem:syncMenuItem
shouldShow:YES
@@ -144,7 +145,8 @@ TEST_F(AppControllerTest, TestSigninMenuItemAuthError) {
std::string username = "foo@example.com";
SigninManager* signin = SigninManagerFactory::GetForProfile(profile_);
signin->SetAuthenticatedAccountInfo(username, username);
- ProfileSyncService* sync = ProfileSyncServiceFactory::GetForProfile(profile_);
+ browser_sync::ProfileSyncService* sync =
+ ProfileSyncServiceFactory::GetForProfile(profile_);
sync->SetFirstSetupComplete();
// Force an auth error.
FakeAuthStatusProvider provider(
« no previous file with comments | « chrome/browser/android/password_ui_view_android.cc ('k') | chrome/browser/autocomplete/search_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698