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

Unified Diff: chrome/browser/extensions/shell_window_registry.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/shell_window_registry.cc
diff --git a/chrome/browser/extensions/shell_window_registry.cc b/chrome/browser/extensions/shell_window_registry.cc
index f8ef9c616d82723229c9d5a7551b7f936511d067..e08b04a58952504b9482937920ee3ff0c6a28459 100644
--- a/chrome/browser/extensions/shell_window_registry.cc
+++ b/chrome/browser/extensions/shell_window_registry.cc
@@ -245,8 +245,8 @@ ShellWindowRegistry::Factory::~Factory() {
}
ProfileKeyedService* ShellWindowRegistry::Factory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new ShellWindowRegistry(profile);
+ content::BrowserContext* profile) const {
+ return new ShellWindowRegistry(static_cast<Profile*>(profile));
}
bool ShellWindowRegistry::Factory::ServiceIsCreatedWithProfile() const {
« no previous file with comments | « chrome/browser/extensions/shell_window_registry.h ('k') | chrome/browser/extensions/test_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698