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 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <Windows.h> | 8 #include <Windows.h> |
9 #endif // defined(OS_WIN) | 9 #endif // defined(OS_WIN) |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" | 26 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" |
27 #endif | 27 #endif |
28 | 28 |
29 // Singly-included section for typedefs. | 29 // Singly-included section for typedefs. |
30 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 30 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
31 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 31 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
32 | 32 |
33 #if defined(OS_WIN) | 33 #if defined(OS_WIN) |
34 // A vector of filters, each being a Tuple containing a display string (i.e. | 34 // A vector of filters, each being a Tuple containing a display string (i.e. |
35 // "Text Files") and a filter pattern (i.e. "*.txt"). | 35 // "Text Files") and a filter pattern (i.e. "*.txt"). |
36 typedef std::vector<Tuple<base::string16, base::string16>> | 36 typedef std::vector<base::Tuple<base::string16, base::string16>> |
37 GetOpenFileNameFilter; | 37 GetOpenFileNameFilter; |
38 #endif // OS_WIN | 38 #endif // OS_WIN |
39 | 39 |
40 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 40 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
41 | 41 |
42 #define IPC_MESSAGE_START ChromeUtilityMsgStart | 42 #define IPC_MESSAGE_START ChromeUtilityMsgStart |
43 | 43 |
44 #if defined(FULL_SAFE_BROWSING) | 44 #if defined(FULL_SAFE_BROWSING) |
45 IPC_ENUM_TRAITS_VALIDATE( | 45 IPC_ENUM_TRAITS_VALIDATE( |
46 safe_browsing::ClientDownloadRequest_DownloadType, | 46 safe_browsing::ClientDownloadRequest_DownloadType, |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, |
281 base::FilePath /* cache file path */) | 281 base::FilePath /* cache file path */) |
282 #endif // defined(OS_WIN) | 282 #endif // defined(OS_WIN) |
283 | 283 |
284 #if defined(OS_ANDROID) | 284 #if defined(OS_ANDROID) |
285 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level | 285 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level |
286 // of kernel support for seccomp-bpf. | 286 // of kernel support for seccomp-bpf. |
287 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, | 287 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, |
288 bool /* seccomp prctl supported */) | 288 bool /* seccomp prctl supported */) |
289 #endif | 289 #endif |
OLD | NEW |