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

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

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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 9dc136d4e2fc60f4eb00be40c7b3ea3376a78b87..397753a683098603b40955ab6a04e51d123c0007 100644
--- a/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
+++ b/chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
@@ -73,8 +73,8 @@ class SigninManagerFake : public FakeSigninManager {
SignOut();
}
- static ProfileKeyedService* Build(Profile* profile) {
- return new SigninManagerFake(profile);
+ static ProfileKeyedService* Build(content::BrowserContext* profile) {
+ return new SigninManagerFake(static_cast<Profile*>(profile));
}
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698