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

Side by Side Diff: chrome/common/extensions/chrome_utility_extensions_messages.h

Issue 865543002: WIP: Browser image decoding using Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and add DecodeImageBase64. Created 5 years, 11 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/common/chrome_utility_messages.h ('k') | chrome/utility/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_UnpackExtension, 80 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_UnpackExtension,
81 base::FilePath /* extension_filename */, 81 base::FilePath /* extension_filename */,
82 std::string /* extension_id */, 82 std::string /* extension_id */,
83 int /* Manifest::Location */, 83 int /* Manifest::Location */,
84 int /* InitFromValue flags */) 84 int /* InitFromValue flags */)
85 85
86 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_UnzipToDir, 86 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_UnzipToDir,
87 base::FilePath /* zip_file */, 87 base::FilePath /* zip_file */,
88 base::FilePath /* dir */) 88 base::FilePath /* dir */)
89 89
90 // Tell the utility process to decode the given image data, which is base64
91 // encoded.
92 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64,
93 std::string) // base64 encoded image contents
94
95 #if defined(OS_WIN) 90 #if defined(OS_WIN)
96 // Tell the utility process to parse the iTunes preference XML file contents 91 // Tell the utility process to parse the iTunes preference XML file contents
97 // and return the path to the iTunes directory. 92 // and return the path to the iTunes directory.
98 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseITunesPrefXml, 93 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseITunesPrefXml,
99 std::string /* XML to parse */) 94 std::string /* XML to parse */)
100 #endif // defined(OS_WIN) 95 #endif // defined(OS_WIN)
101 96
102 #if defined(OS_MACOSX) 97 #if defined(OS_MACOSX)
103 // Tell the utility process to parse the iPhoto library XML file and 98 // Tell the utility process to parse the iPhoto library XML file and
104 // return the parse result as well as the iPhoto library as an iphoto::Library. 99 // return the parse result as well as the iPhoto library as an iphoto::Library.
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // elevation). 252 // elevation).
258 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, 253 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials,
259 std::string /* ssid */) 254 std::string /* ssid */)
260 255
261 // Reply after getting WiFi credentials from the system. |success| is false if 256 // Reply after getting WiFi credentials from the system. |success| is false if
262 // error occurred. 257 // error occurred.
263 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, 258 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials,
264 std::string /* key_data */, 259 std::string /* key_data */,
265 bool /* success */) 260 bool /* success */)
266 #endif // defined(OS_WIN) 261 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698