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

Side by Side Diff: chrome/common/extensions/chrome_utility_extensions_messages.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/common/extensions/api/BUILD.gn ('k') | chrome/common/features.gni » ('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 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "chrome/common/media_galleries/itunes_library.h" 14 #include "chrome/common/media_galleries/itunes_library.h"
15 #include "chrome/common/media_galleries/metadata_types.h" 15 #include "chrome/common/media_galleries/metadata_types.h"
16 #include "chrome/common/media_galleries/picasa_types.h" 16 #include "chrome/common/media_galleries/picasa_types.h"
17 #include "extensions/features/features.h"
17 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
18 #include "ipc/ipc_platform_file.h" 19 #include "ipc/ipc_platform_file.h"
19 20
20 #if !defined(ENABLE_EXTENSIONS) 21 #if !BUILDFLAG(ENABLE_EXTENSIONS)
21 #error "Extensions must be enabled" 22 #error "Extensions must be enabled"
22 #endif 23 #endif
23 24
24 #define IPC_MESSAGE_START ChromeUtilityExtensionsMsgStart 25 #define IPC_MESSAGE_START ChromeUtilityExtensionsMsgStart
25 26
26 #if defined(OS_WIN) || defined(OS_MACOSX) 27 #if defined(OS_WIN) || defined(OS_MACOSX)
27 IPC_STRUCT_TRAITS_BEGIN(itunes::parser::Track) 28 IPC_STRUCT_TRAITS_BEGIN(itunes::parser::Track)
28 IPC_STRUCT_TRAITS_MEMBER(id) 29 IPC_STRUCT_TRAITS_MEMBER(id)
29 IPC_STRUCT_TRAITS_MEMBER(location) 30 IPC_STRUCT_TRAITS_MEMBER(location)
30 IPC_STRUCT_TRAITS_END() 31 IPC_STRUCT_TRAITS_END()
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // elevation). 190 // elevation).
190 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, 191 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials,
191 std::string /* ssid */) 192 std::string /* ssid */)
192 193
193 // Reply after getting WiFi credentials from the system. |success| is false if 194 // Reply after getting WiFi credentials from the system. |success| is false if
194 // error occurred. 195 // error occurred.
195 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, 196 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials,
196 std::string /* key_data */, 197 std::string /* key_data */,
197 bool /* success */) 198 bool /* success */)
198 #endif // defined(OS_WIN) 199 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/BUILD.gn ('k') | chrome/common/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698