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

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

Issue 1885813002: Delete the utility process startup ping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows build. Created 4 years, 8 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 base::FilePath /* output_file */) 157 base::FilePath /* output_file */)
158 158
159 #if defined(OS_CHROMEOS) 159 #if defined(OS_CHROMEOS)
160 // Tell the utility process to create a zip file on the given list of files. 160 // Tell the utility process to create a zip file on the given list of files.
161 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_CreateZipFile, 161 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_CreateZipFile,
162 base::FilePath /* src_dir */, 162 base::FilePath /* src_dir */,
163 std::vector<base::FilePath> /* src_relative_paths */, 163 std::vector<base::FilePath> /* src_relative_paths */,
164 base::FileDescriptor /* dest_fd */) 164 base::FileDescriptor /* dest_fd */)
165 #endif // defined(OS_CHROMEOS) 165 #endif // defined(OS_CHROMEOS)
166 166
167 // Requests the utility process to respond with a
168 // ChromeUtilityHostMsg_ProcessStarted message once it has started. This may
169 // be used if the host process needs a handle to the running utility process.
170 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_StartupPing)
Lei Zhang 2016/04/13 04:39:36 And you need an IPC reviewer.
171
172 #if defined(FULL_SAFE_BROWSING) 167 #if defined(FULL_SAFE_BROWSING)
173 // Tells the utility process to analyze a zip file for malicious download 168 // Tells the utility process to analyze a zip file for malicious download
174 // protection, providing a file that can be used temporarily to analyze binaries 169 // protection, providing a file that can be used temporarily to analyze binaries
175 // contained therein. 170 // contained therein.
176 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection, 171 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection,
177 IPC::PlatformFileForTransit /* zip_file */, 172 IPC::PlatformFileForTransit /* zip_file */,
178 IPC::PlatformFileForTransit /* temp_file */) 173 IPC::PlatformFileForTransit /* temp_file */)
179 174
180 #if defined(OS_MACOSX) 175 #if defined(OS_MACOSX)
181 // Tells the utility process to analyze a DMG file for malicious download 176 // Tells the utility process to analyze a DMG file for malicious download
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_PatchFile_Finished, int /* result */) 221 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_PatchFile_Finished, int /* result */)
227 222
228 #if defined(OS_CHROMEOS) 223 #if defined(OS_CHROMEOS)
229 // Reply when the utility process has succeeded in creating the zip file. 224 // Reply when the utility process has succeeded in creating the zip file.
230 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded) 225 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded)
231 226
232 // Reply when an error occured in creating the zip file. 227 // Reply when an error occured in creating the zip file.
233 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed) 228 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed)
234 #endif // defined(OS_CHROMEOS) 229 #endif // defined(OS_CHROMEOS)
235 230
236 // Reply when the utility process has started.
237 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ProcessStarted)
238
239 #if defined(FULL_SAFE_BROWSING) 231 #if defined(FULL_SAFE_BROWSING)
240 // Reply when a zip file has been analyzed for malicious download protection. 232 // Reply when a zip file has been analyzed for malicious download protection.
241 IPC_MESSAGE_CONTROL1( 233 IPC_MESSAGE_CONTROL1(
242 ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished, 234 ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished,
243 safe_browsing::zip_analyzer::Results) 235 safe_browsing::zip_analyzer::Results)
244 236
245 #if defined(OS_MACOSX) 237 #if defined(OS_MACOSX)
246 // Reply when a DMG file has been analyzed for malicious download protection. 238 // Reply when a DMG file has been analyzed for malicious download protection.
247 IPC_MESSAGE_CONTROL1( 239 IPC_MESSAGE_CONTROL1(
248 ChromeUtilityHostMsg_AnalyzeDmgFileForDownloadProtection_Finished, 240 ChromeUtilityHostMsg_AnalyzeDmgFileForDownloadProtection_Finished,
249 safe_browsing::zip_analyzer::Results) 241 safe_browsing::zip_analyzer::Results)
250 #endif // defined(OS_MACOSX) 242 #endif // defined(OS_MACOSX)
251 #endif // defined(FULL_SAFE_BROWSING) 243 #endif // defined(FULL_SAFE_BROWSING)
252 244
253 #if defined(OS_WIN) 245 #if defined(OS_WIN)
254 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed) 246 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed)
255 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, 247 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result,
256 base::FilePath /* directory */, 248 base::FilePath /* directory */,
257 std::vector<base::FilePath> /* filenames */) 249 std::vector<base::FilePath> /* filenames */)
258 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) 250 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed)
259 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, 251 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result,
260 base::FilePath /* path */, 252 base::FilePath /* path */,
261 int /* one_based_filter_index */) 253 int /* one_based_filter_index */)
262 #endif // defined(OS_WIN) 254 #endif // defined(OS_WIN)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698