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

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

Issue 482163002: Large wallpaper decoding in utility process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add space Created 6 years, 2 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/chrome_tests_unit.gypi ('k') | chrome/utility/chrome_content_utility_client.h » ('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 // 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 //------------------------------------------------------------------------------ 58 //------------------------------------------------------------------------------
59 // Utility process messages: 59 // Utility process messages:
60 // These are messages from the browser to the utility process. 60 // These are messages from the browser to the utility process.
61 61
62 // Tell the utility process to parse the given JSON data and verify its 62 // Tell the utility process to parse the given JSON data and verify its
63 // validity. 63 // validity.
64 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackWebResource, 64 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_UnpackWebResource,
65 std::string /* JSON data */) 65 std::string /* JSON data */)
66 66
67 // Tell the utility process to decode the given image data. 67 // Tell the utility process to decode the given image data.
68 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImage, 68 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_DecodeImage,
69 std::vector<unsigned char>) // encoded image contents 69 std::vector<unsigned char> /* encoded image contents */,
70 bool /* shrink image if needed for IPC msg limit */)
70 71
71 // Tell the utility process to decode the given JPEG image data with a robust 72 // Tell the utility process to decode the given JPEG image data with a robust
72 // libjpeg codec. 73 // libjpeg codec.
73 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_RobustJPEGDecodeImage, 74 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_RobustJPEGDecodeImage,
74 std::vector<unsigned char>) // encoded image contents 75 std::vector<unsigned char>) // encoded image contents
75 76
76 // Tell the utility process to patch the given |input_file| using |patch_file| 77 // Tell the utility process to patch the given |input_file| using |patch_file|
77 // and place the output in |output_file|. The patch should use the bsdiff 78 // and place the output in |output_file|. The patch should use the bsdiff
78 // algorithm (Courgette's version). 79 // algorithm (Courgette's version).
79 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff, 80 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 #if defined(OS_WIN) 178 #if defined(OS_WIN)
178 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed) 179 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed)
179 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, 180 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result,
180 base::FilePath /* directory */, 181 base::FilePath /* directory */,
181 std::vector<base::FilePath> /* filenames */) 182 std::vector<base::FilePath> /* filenames */)
182 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) 183 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed)
183 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, 184 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result,
184 base::FilePath /* path */, 185 base::FilePath /* path */,
185 int /* one_based_filter_index */) 186 int /* one_based_filter_index */)
186 #endif // defined(OS_WIN) 187 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/utility/chrome_content_utility_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698