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

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

Issue 2900803002: Renaming zip_analyzer_results to archive_analyzer_results (Closed)
Patch Set: minor fixups Created 3 years, 7 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 | « chrome/common/BUILD.gn ('k') | chrome/common/safe_archive_analyzer.typemap » ('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 (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 <tuple>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.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 20
21 #if defined(FULL_SAFE_BROWSING) 21 #if defined(FULL_SAFE_BROWSING)
22 #include "chrome/common/safe_browsing/archive_analyzer_results.h"
22 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" 23 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h"
23 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" 24 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h"
24 #include "chrome/common/safe_browsing/zip_analyzer_results.h"
25 #endif 25 #endif
26 26
27 // Singly-included section for typedefs. 27 // Singly-included section for typedefs.
28 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ 28 #ifndef CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_
29 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_ 29 #define CHROME_COMMON_CHROME_UTILITY_MESSAGES_H_
30 30
31 #if defined(OS_WIN) 31 #if defined(OS_WIN)
32 // A vector of filters, each being a tuple containing a display string (i.e. 32 // A vector of filters, each being a tuple containing a display string (i.e.
33 // "Text Files") and a filter pattern (i.e. "*.txt"). 33 // "Text Files") and a filter pattern (i.e. "*.txt").
34 typedef std::vector<std::tuple<base::string16, base::string16>> 34 typedef std::vector<std::tuple<base::string16, base::string16>>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN( 105 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(
106 safe_browsing::ClientDownloadRequest_ArchivedBinary) 106 safe_browsing::ClientDownloadRequest_ArchivedBinary)
107 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(file_basename) 107 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(file_basename)
108 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(download_type) 108 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(download_type)
109 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(digests) 109 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(digests)
110 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(length) 110 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(length)
111 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(signature) 111 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(signature)
112 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(image_headers) 112 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(image_headers)
113 IPC_PROTOBUF_MESSAGE_TRAITS_END() 113 IPC_PROTOBUF_MESSAGE_TRAITS_END()
114 114
115 IPC_STRUCT_TRAITS_BEGIN(safe_browsing::zip_analyzer::Results) 115 IPC_STRUCT_TRAITS_BEGIN(safe_browsing::ArchiveAnalyzerResults)
116 IPC_STRUCT_TRAITS_MEMBER(success) 116 IPC_STRUCT_TRAITS_MEMBER(success)
117 IPC_STRUCT_TRAITS_MEMBER(has_executable) 117 IPC_STRUCT_TRAITS_MEMBER(has_executable)
118 IPC_STRUCT_TRAITS_MEMBER(has_archive) 118 IPC_STRUCT_TRAITS_MEMBER(has_archive)
119 IPC_STRUCT_TRAITS_MEMBER(archived_binary) 119 IPC_STRUCT_TRAITS_MEMBER(archived_binary)
120 IPC_STRUCT_TRAITS_MEMBER(archived_archive_filenames) 120 IPC_STRUCT_TRAITS_MEMBER(archived_archive_filenames)
121 IPC_STRUCT_TRAITS_END() 121 IPC_STRUCT_TRAITS_END()
122 #endif // FULL_SAFE_BROWSING 122 #endif // FULL_SAFE_BROWSING
123 123
124 #if defined(OS_WIN) 124 #if defined(OS_WIN)
125 IPC_STRUCT_BEGIN(ChromeUtilityMsg_GetSaveFileName_Params) 125 IPC_STRUCT_BEGIN(ChromeUtilityMsg_GetSaveFileName_Params)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 #if defined(OS_WIN) 163 #if defined(OS_WIN)
164 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed) 164 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed)
165 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, 165 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result,
166 base::FilePath /* directory */, 166 base::FilePath /* directory */,
167 std::vector<base::FilePath> /* filenames */) 167 std::vector<base::FilePath> /* filenames */)
168 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) 168 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed)
169 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, 169 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result,
170 base::FilePath /* path */, 170 base::FilePath /* path */,
171 int /* one_based_filter_index */) 171 int /* one_based_filter_index */)
172 #endif // defined(OS_WIN) 172 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/safe_archive_analyzer.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698