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

Side by Side Diff: chrome/common/chrome_utility_messages.h

Issue 833063004: Guard safe_browsing struct with FULL_SAFE_BROWSING like rest of the file did (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698