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

Unified Diff: chrome/browser/signin/fake_signin_manager.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/signin/fake_signin_manager.h
diff --git a/chrome/browser/signin/fake_signin_manager.h b/chrome/browser/signin/fake_signin_manager.h
index 11ea3842e4a3d534475bdacd0d1e2789e8faa48f..adb9b9bfa0f4051c158319eb49a35340a4aa15a6 100644
--- a/chrome/browser/signin/fake_signin_manager.h
+++ b/chrome/browser/signin/fake_signin_manager.h
@@ -11,7 +11,7 @@
#include "chrome/browser/signin/signin_manager.h"
class Profile;
-class ProfileKeyedService;
+class BrowserContextKeyedService;
// Overrides InitTokenService to do-nothing in tests.
class FakeSigninManagerBase : public SigninManagerBase {
@@ -21,8 +21,9 @@ class FakeSigninManagerBase : public SigninManagerBase {
virtual void InitTokenService() OVERRIDE;
- // Helper function to be used with ProfileKeyedService::SetTestingFactory().
- static ProfileKeyedService* Build(content::BrowserContext* profile);
+ // Helper function to be used with
+ // BrowserContextKeyedService::SetTestingFactory().
+ static BrowserContextKeyedService* Build(content::BrowserContext* profile);
};
#if !defined(OS_CHROMEOS)
@@ -53,8 +54,9 @@ class FakeSigninManager : public SigninManager {
virtual void CompletePendingSignin() OVERRIDE;
- // Helper function to be used with ProfileKeyedService::SetTestingFactory().
- static ProfileKeyedService* Build(content::BrowserContext* profile);
+ // Helper function to be used with
+ // BrowserContextKeyedService::SetTestingFactory().
+ static BrowserContextKeyedService* Build(content::BrowserContext* profile);
};
#endif // !defined (OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698