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

Side by Side Diff: chrome/utility/extensions/extensions_handler.h

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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
« no previous file with comments | « chrome/utility/extensions/DEPS ('k') | components/content_settings/core/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/utility/extensions/DEPS ('k') | components/content_settings/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698