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

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

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: simplifying data structures in download_protection_service.cc Created 3 years, 5 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
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::ArchiveAnalyzerResults) 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 #if defined(OS_MACOSX)
122 IPC_STRUCT_TRAITS_MEMBER(signature_blob)
123 #endif // OS_MACOSX
121 IPC_STRUCT_TRAITS_END() 124 IPC_STRUCT_TRAITS_END()
122 #endif // FULL_SAFE_BROWSING 125 #endif // FULL_SAFE_BROWSING
123 126
124 #if defined(OS_WIN) 127 #if defined(OS_WIN)
125 IPC_STRUCT_BEGIN(ChromeUtilityMsg_GetSaveFileName_Params) 128 IPC_STRUCT_BEGIN(ChromeUtilityMsg_GetSaveFileName_Params)
126 IPC_STRUCT_MEMBER(HWND, owner) 129 IPC_STRUCT_MEMBER(HWND, owner)
127 IPC_STRUCT_MEMBER(DWORD, flags) 130 IPC_STRUCT_MEMBER(DWORD, flags)
128 IPC_STRUCT_MEMBER(GetOpenFileNameFilter, filters) 131 IPC_STRUCT_MEMBER(GetOpenFileNameFilter, filters)
129 IPC_STRUCT_MEMBER(int, one_based_filter_index) 132 IPC_STRUCT_MEMBER(int, one_based_filter_index)
130 IPC_STRUCT_MEMBER(base::FilePath, suggested_filename) 133 IPC_STRUCT_MEMBER(base::FilePath, suggested_filename)
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 #if defined(OS_WIN) 166 #if defined(OS_WIN)
164 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed) 167 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed)
165 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, 168 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result,
166 base::FilePath /* directory */, 169 base::FilePath /* directory */,
167 std::vector<base::FilePath> /* filenames */) 170 std::vector<base::FilePath> /* filenames */)
168 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) 171 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed)
169 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, 172 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result,
170 base::FilePath /* path */, 173 base::FilePath /* path */,
171 int /* one_based_filter_index */) 174 int /* one_based_filter_index */)
172 #endif // defined(OS_WIN) 175 #endif // defined(OS_WIN)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698