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

Unified Diff: chrome/browser/extensions/menu_manager_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/menu_manager_unittest.cc
diff --git a/chrome/browser/extensions/menu_manager_unittest.cc b/chrome/browser/extensions/menu_manager_unittest.cc
index 7e6f8723732fe451ad3c5759fe381f570fc6b9fe..bd60d8cd571f25c43285e7234ce8474b3665fa6f 100644
--- a/chrome/browser/extensions/menu_manager_unittest.cc
+++ b/chrome/browser/extensions/menu_manager_unittest.cc
@@ -489,8 +489,9 @@ class MockExtensionSystem : public TestExtensionSystem {
DISALLOW_COPY_AND_ASSIGN(MockExtensionSystem);
};
-ProfileKeyedService* BuildMockExtensionSystem(Profile* profile) {
- return new MockExtensionSystem(profile);
+ProfileKeyedService* BuildMockExtensionSystem(
+ content::BrowserContext* profile) {
+ return new MockExtensionSystem(static_cast<Profile*>(profile));
}
// Tests the RemoveAll functionality.
« no previous file with comments | « chrome/browser/extensions/install_tracker_factory.cc ('k') | chrome/browser/extensions/shell_window_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698