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

Side by Side Diff: chrome/utility/chrome_content_utility_client.h

Issue 1018953004: Add SeccompSupportDetector for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More GN Created 5 years, 9 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/utility/DEPS ('k') | chrome/utility/chrome_content_utility_client.cc » ('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 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 bool shrink_to_fit); 49 bool shrink_to_fit);
50 void OnRobustJPEGDecodeImage( 50 void OnRobustJPEGDecodeImage(
51 const std::vector<unsigned char>& encoded_data); 51 const std::vector<unsigned char>& encoded_data);
52 52
53 #if defined(OS_CHROMEOS) 53 #if defined(OS_CHROMEOS)
54 void OnCreateZipFile(const base::FilePath& src_dir, 54 void OnCreateZipFile(const base::FilePath& src_dir,
55 const std::vector<base::FilePath>& src_relative_paths, 55 const std::vector<base::FilePath>& src_relative_paths,
56 const base::FileDescriptor& dest_fd); 56 const base::FileDescriptor& dest_fd);
57 #endif // defined(OS_CHROMEOS) 57 #endif // defined(OS_CHROMEOS)
58 58
59 #if defined(OS_ANDROID) && defined(USE_SECCOMP_BPF)
60 void OnDetectSeccompSupport();
61 #endif
62
59 void OnParseJSON(const std::string& json); 63 void OnParseJSON(const std::string& json);
60 void OnPatchFileBsdiff(const base::FilePath& input_file, 64 void OnPatchFileBsdiff(const base::FilePath& input_file,
61 const base::FilePath& patch_file, 65 const base::FilePath& patch_file,
62 const base::FilePath& output_file); 66 const base::FilePath& output_file);
63 void OnPatchFileCourgette(const base::FilePath& input_file, 67 void OnPatchFileCourgette(const base::FilePath& input_file,
64 const base::FilePath& patch_file, 68 const base::FilePath& patch_file,
65 const base::FilePath& output_file); 69 const base::FilePath& output_file);
66 void OnStartupPing(); 70 void OnStartupPing();
67 #if defined(FULL_SAFE_BROWSING) 71 #if defined(FULL_SAFE_BROWSING)
68 void OnAnalyzeZipFileForDownloadProtection( 72 void OnAnalyzeZipFileForDownloadProtection(
(...skipping 12 matching lines...) Expand all
81 bool filter_messages_; 85 bool filter_messages_;
82 // A list of message_ids to filter. 86 // A list of message_ids to filter.
83 std::set<int> message_id_whitelist_; 87 std::set<int> message_id_whitelist_;
84 // Maximum IPC msg size (default to kMaximumMessageSize; override for testing) 88 // Maximum IPC msg size (default to kMaximumMessageSize; override for testing)
85 static int64_t max_ipc_message_size_; 89 static int64_t max_ipc_message_size_;
86 90
87 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); 91 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
88 }; 92 };
89 93
90 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 94 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/utility/DEPS ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698