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_API_COMMANDS_COMMAND_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMAND_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMAND_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMAND_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
13 #include "chrome/common/extensions/command.h" | 13 #include "chrome/common/extensions/command.h" |
14 #include "extensions/browser/browser_context_keyed_api_factory.h" | 14 #include "extensions/browser/browser_context_keyed_api_factory.h" |
15 #include "extensions/browser/extension_registry_observer.h" | 15 #include "extensions/browser/extension_registry_observer.h" |
16 #include "extensions/common/extension.h" | 16 #include "extensions/common/extension.h" |
17 | 17 |
18 class Profile; | 18 class Profile; |
19 | 19 |
20 namespace base { | |
21 class DictionaryValue; | |
22 } | |
23 | |
24 namespace content { | 20 namespace content { |
25 class BrowserContext; | 21 class BrowserContext; |
26 } | 22 } |
27 | 23 |
28 namespace ui { | 24 namespace ui { |
29 class Accelerator; | 25 class Accelerator; |
30 } | 26 } |
31 | 27 |
32 namespace user_prefs { | 28 namespace user_prefs { |
33 class PrefRegistrySyncable; | 29 class PrefRegistrySyncable; |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 DISALLOW_COPY_AND_ASSIGN(CommandService); | 278 DISALLOW_COPY_AND_ASSIGN(CommandService); |
283 }; | 279 }; |
284 | 280 |
285 template <> | 281 template <> |
286 void | 282 void |
287 BrowserContextKeyedAPIFactory<CommandService>::DeclareFactoryDependencies(); | 283 BrowserContextKeyedAPIFactory<CommandService>::DeclareFactoryDependencies(); |
288 | 284 |
289 } // namespace extensions | 285 } // namespace extensions |
290 | 286 |
291 #endif // CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMAND_SERVICE_H_ | 287 #endif // CHROME_BROWSER_EXTENSIONS_API_COMMANDS_COMMAND_SERVICE_H_ |
OLD | NEW |