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

Unified Diff: chrome/browser/invalidation/profile_invalidation_provider_factory_browsertest.cc

Issue 375413002: Replace chromeos::UserManager::Get() with chromeos::GetUserManager(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 5 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/invalidation/profile_invalidation_provider_factory_browsertest.cc
diff --git a/chrome/browser/invalidation/profile_invalidation_provider_factory_browsertest.cc b/chrome/browser/invalidation/profile_invalidation_provider_factory_browsertest.cc
index 8c8d5563f936740848d70c8d180c1979cfc9e732..94fd65926cf5ab52d1769c3c3184b1b0ae314fca 100644
--- a/chrome/browser/invalidation/profile_invalidation_provider_factory_browsertest.cc
+++ b/chrome/browser/invalidation/profile_invalidation_provider_factory_browsertest.cc
@@ -114,7 +114,7 @@ void ProfileInvalidationProviderFactoryGuestBrowserTest::SetUpCommandLine(
// the guest profile while a guest session is in progress.
IN_PROC_BROWSER_TEST_F(ProfileInvalidationProviderFactoryGuestBrowserTest,
NoInvalidationService) {
- chromeos::UserManager* user_manager = chromeos::UserManager::Get();
+ chromeos::UserManager* user_manager = chromeos::GetUserManager();
EXPECT_TRUE(user_manager->IsLoggedInAsGuest());
Profile* guest_profile = chromeos::ProfileHelper::Get()
->GetProfileByUser(user_manager->GetActiveUser())

Powered by Google App Engine
This is Rietveld 408576698