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

Side by Side Diff: chrome/common/safe_browsing/safe_archive_analyzer_param_traits.h

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: correcting rebase mixup 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 param traits file, so no include guard. 5 // Multiply-included param traits file, so no include guard.
6 6
7 #if !defined(FULL_SAFE_BROWSING) 7 #if !defined(FULL_SAFE_BROWSING)
8 #error FULL_SAFE_BROWSING should be defined. 8 #error FULL_SAFE_BROWSING should be defined.
9 #endif 9 #endif
10 10
11 #include "build/build_config.h"
11 #include "chrome/common/safe_browsing/archive_analyzer_results.h" 12 #include "chrome/common/safe_browsing/archive_analyzer_results.h"
12 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h" 13 #include "chrome/common/safe_browsing/ipc_protobuf_message_macros.h"
13 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h" 14 #include "chrome/common/safe_browsing/protobuf_message_param_traits.h"
14 #include "ipc/ipc_message_macros.h" 15 #include "ipc/ipc_message_macros.h"
15 16
16 IPC_ENUM_TRAITS_VALIDATE( 17 IPC_ENUM_TRAITS_VALIDATE(
17 safe_browsing::ClientDownloadRequest_DownloadType, 18 safe_browsing::ClientDownloadRequest_DownloadType,
18 safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value)) 19 safe_browsing::ClientDownloadRequest_DownloadType_IsValid(value))
19 20
20 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(safe_browsing::ClientDownloadRequest_Digests) 21 IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(safe_browsing::ClientDownloadRequest_Digests)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(signature) 85 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(signature)
85 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(image_headers) 86 IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_COMPLEX_MEMBER(image_headers)
86 IPC_PROTOBUF_MESSAGE_TRAITS_END() 87 IPC_PROTOBUF_MESSAGE_TRAITS_END()
87 88
88 IPC_STRUCT_TRAITS_BEGIN(safe_browsing::ArchiveAnalyzerResults) 89 IPC_STRUCT_TRAITS_BEGIN(safe_browsing::ArchiveAnalyzerResults)
89 IPC_STRUCT_TRAITS_MEMBER(success) 90 IPC_STRUCT_TRAITS_MEMBER(success)
90 IPC_STRUCT_TRAITS_MEMBER(has_executable) 91 IPC_STRUCT_TRAITS_MEMBER(has_executable)
91 IPC_STRUCT_TRAITS_MEMBER(has_archive) 92 IPC_STRUCT_TRAITS_MEMBER(has_archive)
92 IPC_STRUCT_TRAITS_MEMBER(archived_binary) 93 IPC_STRUCT_TRAITS_MEMBER(archived_binary)
93 IPC_STRUCT_TRAITS_MEMBER(archived_archive_filenames) 94 IPC_STRUCT_TRAITS_MEMBER(archived_archive_filenames)
95 #if defined(OS_MACOSX)
96 IPC_STRUCT_TRAITS_MEMBER(signature_blob)
97 #endif // OS_MACOSX
94 IPC_STRUCT_TRAITS_END() 98 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/archive_analyzer_results.h ('k') | chrome/test/data/safe_browsing/mach_o/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698