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

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

Issue 1140053003: Refactoring: Moving the SafeJsonParser to its own component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Catching up with WebstoreInstallHelper changes Created 5 years, 6 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 void OnCreateZipFile(const base::FilePath& src_dir, 56 void OnCreateZipFile(const base::FilePath& src_dir,
57 const std::vector<base::FilePath>& src_relative_paths, 57 const std::vector<base::FilePath>& src_relative_paths,
58 const base::FileDescriptor& dest_fd); 58 const base::FileDescriptor& dest_fd);
59 #endif // defined(OS_CHROMEOS) 59 #endif // defined(OS_CHROMEOS)
60 60
61 #if defined(OS_ANDROID) && defined(USE_SECCOMP_BPF) 61 #if defined(OS_ANDROID) && defined(USE_SECCOMP_BPF)
62 void OnDetectSeccompSupport(); 62 void OnDetectSeccompSupport();
63 #endif 63 #endif
64 64
65 void OnParseJSON(const std::string& json);
66 void OnPatchFileBsdiff(const base::FilePath& input_file, 65 void OnPatchFileBsdiff(const base::FilePath& input_file,
67 const base::FilePath& patch_file, 66 const base::FilePath& patch_file,
68 const base::FilePath& output_file); 67 const base::FilePath& output_file);
69 void OnPatchFileCourgette(const base::FilePath& input_file, 68 void OnPatchFileCourgette(const base::FilePath& input_file,
70 const base::FilePath& patch_file, 69 const base::FilePath& patch_file,
71 const base::FilePath& output_file); 70 const base::FilePath& output_file);
72 void OnStartupPing(); 71 void OnStartupPing();
73 #if defined(FULL_SAFE_BROWSING) 72 #if defined(FULL_SAFE_BROWSING)
74 void OnAnalyzeZipFileForDownloadProtection( 73 void OnAnalyzeZipFileForDownloadProtection(
75 const IPC::PlatformFileForTransit& zip_file, 74 const IPC::PlatformFileForTransit& zip_file,
(...skipping 12 matching lines...) Expand all
88 bool filter_messages_; 87 bool filter_messages_;
89 // A list of message_ids to filter. 88 // A list of message_ids to filter.
90 std::set<int> message_id_whitelist_; 89 std::set<int> message_id_whitelist_;
91 // Maximum IPC msg size (default to kMaximumMessageSize; override for testing) 90 // Maximum IPC msg size (default to kMaximumMessageSize; override for testing)
92 static int64_t max_ipc_message_size_; 91 static int64_t max_ipc_message_size_;
93 92
94 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); 93 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
95 }; 94 };
96 95
97 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 96 #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