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

Unified Diff: chrome/browser/extensions/api/storage/settings_test_util.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/storage/settings_test_util.cc
diff --git a/chrome/browser/extensions/api/storage/settings_test_util.cc b/chrome/browser/extensions/api/storage/settings_test_util.cc
index f201a44ebfa98246105425bea5eadf7014de169a..d3c4b7d4fa07fc7be958be34eb9dee1af0fc999d 100644
--- a/chrome/browser/extensions/api/storage/settings_test_util.cc
+++ b/chrome/browser/extensions/api/storage/settings_test_util.cc
@@ -124,8 +124,9 @@ ExtensionService* MockExtensionSystem::extension_service() {
return static_cast<ExtensionService*>(as_interface);
}
-ProfileKeyedService* BuildMockExtensionSystem(Profile* profile) {
- return new MockExtensionSystem(profile);
+ProfileKeyedService* BuildMockExtensionSystem(
+ content::BrowserContext* profile) {
+ return new MockExtensionSystem(static_cast<Profile*>(profile));
}
// MockProfile

Powered by Google App Engine
This is Rietveld 408576698