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

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

Issue 10892023: Force avatar and wallpaper decoding to use robust JPEG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied comments. Created 8 years, 3 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 | Annotate | Revision Log
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 // Tell the utility process to decode the given image data. 72 // Tell the utility process to decode the given image data.
73 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImage, 73 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImage,
74 std::vector<unsigned char>) // encoded image contents 74 std::vector<unsigned char>) // encoded image contents
75 75
76 // Tell the utility process to decode the given image data, which is base64 76 // Tell the utility process to decode the given image data, which is base64
77 // encoded. 77 // encoded.
78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64, 78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64,
79 std::string) // base64 encoded image contents 79 std::string) // base64 encoded image contents
80 80
81 // Tell the utility process to decode the given JPEG image data with standard
82 // libjpeg codec.
83 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageWithIJGlibjpeg,
sky 2012/08/29 15:21:54 Why do we need a new message, can't we add an argu
Jorge Lucangeli Obes 2012/08/29 17:04:30 The way I see this functionality, we're providing
84 std::vector<unsigned char>) // encoded image contents
85
81 // Tell the utility process to render the given PDF into a metafile. 86 // Tell the utility process to render the given PDF into a metafile.
82 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile, 87 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile,
83 base::PlatformFile, // PDF file 88 base::PlatformFile, // PDF file
84 FilePath, // Location for output metafile 89 FilePath, // Location for output metafile
85 printing::PdfRenderSettings, // PDF render settitngs 90 printing::PdfRenderSettings, // PDF render settitngs
86 std::vector<printing::PageRange>) 91 std::vector<printing::PageRange>)
87 92
88 // Tell the utility process to parse a JSON string into a Value object. 93 // Tell the utility process to parse a JSON string into a Value object.
89 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON, 94 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON,
90 std::string /* JSON to parse */) 95 std::string /* JSON to parse */)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // capabilities and defaults. 171 // capabilities and defaults.
167 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, 172 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded,
168 std::string /* printer name */, 173 std::string /* printer name */,
169 printing::PrinterCapsAndDefaults) 174 printing::PrinterCapsAndDefaults)
170 #endif 175 #endif
171 176
172 // Reply when the utility process has failed to obtain the printer 177 // Reply when the utility process has failed to obtain the printer
173 // capabilities and defaults. 178 // capabilities and defaults.
174 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, 179 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed,
175 std::string /* printer name */) 180 std::string /* printer name */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698