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 |
11 #include <string> | 11 #include <string> |
| 12 #include <tuple> |
12 #include <vector> | 13 #include <vector> |
13 | 14 |
14 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
15 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
16 #include "base/tuple.h" | |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
19 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
20 #include "ipc/ipc_platform_file.h" | 20 #include "ipc/ipc_platform_file.h" |
21 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
22 #include "ui/gfx/ipc/gfx_param_traits.h" | 22 #include "ui/gfx/ipc/gfx_param_traits.h" |
23 | 23 |
24 #if defined(FULL_SAFE_BROWSING) | 24 #if defined(FULL_SAFE_BROWSING) |
25 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" | 25 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" |
26 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" | 26 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" |
27 #include "chrome/common/safe_browsing/zip_analyzer_results.h" | 27 #include "chrome/common/safe_browsing/zip_analyzer_results.h" |
28 #endif | 28 #endif |
29 | 29 |
30 // Singly-included section for typedefs. | 30 // Singly-included section for typedefs. |
31 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 31 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
32 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 32 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
33 | 33 |
34 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
35 // A vector of filters, each being a Tuple containing a display string (i.e. | 35 // A vector of filters, each being a tuple containing a display string (i.e. |
36 // "Text Files") and a filter pattern (i.e. "*.txt"). | 36 // "Text Files") and a filter pattern (i.e. "*.txt"). |
37 typedef std::vector<base::Tuple<base::string16, base::string16>> | 37 typedef std::vector<std::tuple<base::string16, base::string16>> |
38 GetOpenFileNameFilter; | 38 GetOpenFileNameFilter; |
39 #endif // OS_WIN | 39 #endif // OS_WIN |
40 | 40 |
41 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 41 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
42 | 42 |
43 #define IPC_MESSAGE_START ChromeUtilityMsgStart | 43 #define IPC_MESSAGE_START ChromeUtilityMsgStart |
44 | 44 |
45 #if defined(FULL_SAFE_BROWSING) | 45 #if defined(FULL_SAFE_BROWSING) |
46 IPC_ENUM_TRAITS_VALIDATE( | 46 IPC_ENUM_TRAITS_VALIDATE( |
47 safe_browsing::ClientDownloadRequest_DownloadType, | 47 safe_browsing::ClientDownloadRequest_DownloadType, |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 278 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, |
279 base::FilePath /* directory */, | 279 base::FilePath /* directory */, |
280 std::vector<base::FilePath> /* filenames */) | 280 std::vector<base::FilePath> /* filenames */) |
281 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) | 281 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) |
282 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, | 282 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, |
283 base::FilePath /* path */, | 283 base::FilePath /* path */, |
284 int /* one_based_filter_index */) | 284 int /* one_based_filter_index */) |
285 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 285 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, |
286 base::FilePath /* cache file path */) | 286 base::FilePath /* cache file path */) |
287 #endif // defined(OS_WIN) | 287 #endif // defined(OS_WIN) |
OLD | NEW |