OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ | 5 #ifndef CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ |
6 #define CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ | 6 #define CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/base64.h" | 10 #include "base/base64.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "chrome/common/media_galleries/picasa_types.h" | 14 #include "chrome/common/media_galleries/picasa_types.h" |
15 #include "chrome/utility/utility_message_handler.h" | 15 #include "chrome/utility/utility_message_handler.h" |
| 16 #include "extensions/features/features.h" |
16 #include "extensions/utility/utility_handler.h" | 17 #include "extensions/utility/utility_handler.h" |
17 | 18 |
18 #if !defined(ENABLE_EXTENSIONS) | 19 #if !BUILDFLAG(ENABLE_EXTENSIONS) |
19 #error "Extensions must be enabled" | 20 #error "Extensions must be enabled" |
20 #endif | 21 #endif |
21 | 22 |
22 class ChromeContentUtilityClient; | 23 class ChromeContentUtilityClient; |
23 | 24 |
24 namespace metadata { | 25 namespace metadata { |
25 class MediaMetadataParser; | 26 class MediaMetadataParser; |
26 } | 27 } |
27 | 28 |
28 namespace extensions { | 29 namespace extensions { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 72 |
72 // The client that owns this. | 73 // The client that owns this. |
73 ChromeContentUtilityClient* const utility_client_; | 74 ChromeContentUtilityClient* const utility_client_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler); | 76 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace extensions | 79 } // namespace extensions |
79 | 80 |
80 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ | 81 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ |
OLD | NEW |