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

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

Issue 61643015: Adds imageWriterPrivate support for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reorganization and test updates. Created 7 years, 1 month 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 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 #if !defined(OS_ANDROID) && !defined(OS_IOS) 214 #if !defined(OS_ANDROID) && !defined(OS_IOS)
215 // Tell the utility process to attempt to validate the passed media file. The 215 // Tell the utility process to attempt to validate the passed media file. The
216 // file will undergo basic sanity checks and will be decoded for up to 216 // file will undergo basic sanity checks and will be decoded for up to
217 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode 217 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode
218 // the file in the browser process after this check. 218 // the file in the browser process after this check.
219 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, 219 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile,
220 int64 /* milliseconds_of_decoding */, 220 int64 /* milliseconds_of_decoding */,
221 IPC::PlatformFileForTransit /* Media file to parse */) 221 IPC::PlatformFileForTransit /* Media file to parse */)
222 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 222 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
223 223
224
225 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write,
jam 2013/11/21 19:36:41 ipc files have specific owners form the security t
Drew Haven 2013/11/26 02:10:43 Will do.
226 base::FilePath /* source file */,
227 base::FilePath /* target file */)
228 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Verify,
229 base::FilePath /* source file */,
230 base::FilePath /* target file */)
231 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_ImageWriter_Cancel)
232
224 //------------------------------------------------------------------------------ 233 //------------------------------------------------------------------------------
225 // Utility process host messages: 234 // Utility process host messages:
226 // These are messages from the utility process to the browser. 235 // These are messages from the utility process to the browser.
227 236
228 // Reply when the utility process is done unpacking an extension. |manifest| 237 // Reply when the utility process is done unpacking an extension. |manifest|
229 // is the parsed manifest.json file. 238 // is the parsed manifest.json file.
230 // The unpacker should also have written out files containing the decoded 239 // The unpacker should also have written out files containing the decoded
231 // images and message catalogs from the extension. The data is written into a 240 // images and message catalogs from the extension. The data is written into a
232 // DecodedImages struct into a file named kDecodedImagesFilename in the 241 // DecodedImages struct into a file named kDecodedImagesFilename in the
233 // directory that was passed in. This is done because the data is too large to 242 // directory that was passed in. This is done because the data is too large to
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, 361 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished,
353 picasa::AlbumImagesMap /* albums_images */) 362 picasa::AlbumImagesMap /* albums_images */)
354 #endif // defined(OS_WIN) || defined(OS_MACOSX) 363 #endif // defined(OS_WIN) || defined(OS_MACOSX)
355 364
356 #if !defined(OS_ANDROID) && !defined(OS_IOS) 365 #if !defined(OS_ANDROID) && !defined(OS_IOS)
357 // Reply after checking the passed media file. A true result indicates that 366 // Reply after checking the passed media file. A true result indicates that
358 // the file appears to be a well formed media file. 367 // the file appears to be a well formed media file.
359 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, 368 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished,
360 bool /* passed_checks */) 369 bool /* passed_checks */)
361 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 370 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
371
372 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded)
373 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed,
374 std::string /* message */)
375 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress,
376 int /* progress percent */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698