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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #define IPC_MESSAGE_START ChromeUtilityMsgStart | 24 #define IPC_MESSAGE_START ChromeUtilityMsgStart |
25 | 25 |
26 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 26 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
27 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 27 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
28 | 28 |
29 typedef std::vector<Tuple<SkBitmap, base::FilePath>> DecodedImages; | 29 typedef std::vector<Tuple<SkBitmap, base::FilePath>> DecodedImages; |
30 | 30 |
31 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ | 31 #endif // CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ |
32 | 32 |
| 33 #if defined(FULL_SAFE_BROWSING) |
33 IPC_STRUCT_TRAITS_BEGIN(safe_browsing::zip_analyzer::Results) | 34 IPC_STRUCT_TRAITS_BEGIN(safe_browsing::zip_analyzer::Results) |
34 IPC_STRUCT_TRAITS_MEMBER(success) | 35 IPC_STRUCT_TRAITS_MEMBER(success) |
35 IPC_STRUCT_TRAITS_MEMBER(has_executable) | 36 IPC_STRUCT_TRAITS_MEMBER(has_executable) |
36 IPC_STRUCT_TRAITS_MEMBER(has_archive) | 37 IPC_STRUCT_TRAITS_MEMBER(has_archive) |
37 IPC_STRUCT_TRAITS_END() | 38 IPC_STRUCT_TRAITS_END() |
| 39 #endif |
38 | 40 |
39 #if defined(OS_WIN) | 41 #if defined(OS_WIN) |
40 | 42 |
41 // A vector of filters, each being a Tuple containing a display string (i.e. | 43 // A vector of filters, each being a Tuple containing a display string (i.e. |
42 // "Text Files") and a filter pattern (i.e. "*.txt"). | 44 // "Text Files") and a filter pattern (i.e. "*.txt"). |
43 typedef std::vector<Tuple<base::string16, base::string16>> | 45 typedef std::vector<Tuple<base::string16, base::string16>> |
44 GetOpenFileNameFilter; | 46 GetOpenFileNameFilter; |
45 | 47 |
46 IPC_STRUCT_BEGIN(ChromeUtilityMsg_GetSaveFileName_Params) | 48 IPC_STRUCT_BEGIN(ChromeUtilityMsg_GetSaveFileName_Params) |
47 IPC_STRUCT_MEMBER(HWND, owner) | 49 IPC_STRUCT_MEMBER(HWND, owner) |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 189 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, |
188 base::FilePath /* directory */, | 190 base::FilePath /* directory */, |
189 std::vector<base::FilePath> /* filenames */) | 191 std::vector<base::FilePath> /* filenames */) |
190 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) | 192 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) |
191 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, | 193 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, |
192 base::FilePath /* path */, | 194 base::FilePath /* path */, |
193 int /* one_based_filter_index */) | 195 int /* one_based_filter_index */) |
194 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 196 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, |
195 base::FilePath /* cache file path */) | 197 base::FilePath /* cache file path */) |
196 #endif // defined(OS_WIN) | 198 #endif // defined(OS_WIN) |
OLD | NEW |