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

Side by Side Diff: chrome/browser/extensions/extension_system_factory.cc

Issue 10700027: browser: Move global error to subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_system_factory.h" 5 #include "chrome/browser/extensions/extension_system_factory.h"
6 6
7 #include "chrome/browser/extensions/extension_message_service.h" 7 #include "chrome/browser/extensions/extension_message_service.h"
8 #include "chrome/browser/extensions/extension_prefs.h" 8 #include "chrome/browser/extensions/extension_prefs.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/extensions/extension_system.h" 10 #include "chrome/browser/extensions/extension_system.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/profiles/profile_dependency_manager.h" 12 #include "chrome/browser/profiles/profile_dependency_manager.h"
13 #include "chrome/browser/protector/protector_service_factory.h" 13 #include "chrome/browser/protector/protector_service_factory.h"
14 #include "chrome/browser/themes/theme_service_factory.h" 14 #include "chrome/browser/themes/theme_service_factory.h"
15 #include "chrome/browser/ui/global_error_service_factory.h" 15 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
16 16
17 // ExtensionSystemSharedFactory 17 // ExtensionSystemSharedFactory
18 18
19 // static 19 // static
20 ExtensionSystemImpl::Shared* ExtensionSystemSharedFactory::GetForProfile( 20 ExtensionSystemImpl::Shared* ExtensionSystemSharedFactory::GetForProfile(
21 Profile* profile) { 21 Profile* profile) {
22 return static_cast<ExtensionSystemImpl::Shared*>( 22 return static_cast<ExtensionSystemImpl::Shared*>(
23 GetInstance()->GetServiceForProfile(profile, true)); 23 GetInstance()->GetServiceForProfile(profile, true));
24 } 24 }
25 25
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return new ExtensionSystemImpl(profile); 78 return new ExtensionSystemImpl(profile);
79 } 79 }
80 80
81 bool ExtensionSystemFactory::ServiceHasOwnInstanceInIncognito() { 81 bool ExtensionSystemFactory::ServiceHasOwnInstanceInIncognito() {
82 return true; 82 return true;
83 } 83 }
84 84
85 bool ExtensionSystemFactory::ServiceIsCreatedWithProfile() { 85 bool ExtensionSystemFactory::ServiceIsCreatedWithProfile() {
86 return true; 86 return true;
87 } 87 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/extension_warning_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698