OLD | NEW |
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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
10 #include "chrome/browser/extensions/extension_system.h" | 9 #include "chrome/browser/extensions/extension_system.h" |
11 #include "chrome/browser/profiles/profile_keyed_service_factory.h" | 10 #include "chrome/browser/profiles/profile_keyed_service_factory.h" |
12 | 11 |
13 class ExtensionSystem; | 12 class ExtensionSystem; |
14 class Profile; | 13 class Profile; |
15 class ProfileKeyedService; | 14 class ProfileKeyedService; |
16 | 15 |
17 // ProfileKeyedServiceFactory for ExtensionSystemImpl::Shared. | 16 // ProfileKeyedServiceFactory for ExtensionSystemImpl::Shared. |
(...skipping 29 matching lines...) Expand all Loading... |
47 ExtensionSystemFactory(); | 46 ExtensionSystemFactory(); |
48 virtual ~ExtensionSystemFactory(); | 47 virtual ~ExtensionSystemFactory(); |
49 | 48 |
50 virtual ProfileKeyedService* BuildServiceInstanceFor( | 49 virtual ProfileKeyedService* BuildServiceInstanceFor( |
51 Profile* profile) const OVERRIDE; | 50 Profile* profile) const OVERRIDE; |
52 virtual bool ServiceHasOwnInstanceInIncognito() OVERRIDE; | 51 virtual bool ServiceHasOwnInstanceInIncognito() OVERRIDE; |
53 virtual bool ServiceIsCreatedWithProfile() OVERRIDE; | 52 virtual bool ServiceIsCreatedWithProfile() OVERRIDE; |
54 }; | 53 }; |
55 | 54 |
56 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_ | 55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_FACTORY_H_ |
OLD | NEW |