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

Unified Diff: chrome/browser/extensions/api/idle/idle_api_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/extensions/api/idle/idle_api_unittest.cc
diff --git a/chrome/browser/extensions/api/idle/idle_api_unittest.cc b/chrome/browser/extensions/api/idle/idle_api_unittest.cc
index 94d2c8d7baa7927489135404a3ef78108dd26471..22f0fb1549fe261cb4ba9c766b1f67c7ffab5bd1 100644
--- a/chrome/browser/extensions/api/idle/idle_api_unittest.cc
+++ b/chrome/browser/extensions/api/idle/idle_api_unittest.cc
@@ -118,8 +118,8 @@ ScopedListen::~ScopedListen() {
idle_manager_->OnListenerRemoved(details);
}
-ProfileKeyedService* IdleManagerTestFactory(Profile* profile) {
- return new IdleManager(profile);
+ProfileKeyedService* IdleManagerTestFactory(content::BrowserContext* profile) {
+ return new IdleManager(static_cast<Profile*>(profile));
}
} // namespace
« no previous file with comments | « chrome/browser/extensions/api/identity/identity_apitest.cc ('k') | chrome/browser/extensions/api/idle/idle_manager_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698