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

Side by Side Diff: extensions/common/extension_utility_messages.h

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « extensions/browser/sandboxed_unpacker.cc ('k') | extensions/utility/unpacker.cc » ('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 8
9 #include "extensions/common/update_manifest.h" 9 #include "extensions/common/update_manifest.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 11 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "ui/gfx/ipc/gfx_param_traits.h" 12 #include "ui/gfx/ipc/gfx_param_traits.h"
13 13
14 #define IPC_MESSAGE_START ExtensionUtilityMsgStart 14 #define IPC_MESSAGE_START ExtensionUtilityMsgStart
15 15
16 #ifndef EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ 16 #ifndef EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_
17 #define EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ 17 #define EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_
18 18
19 typedef std::vector<Tuple<SkBitmap, base::FilePath>> DecodedImages; 19 typedef std::vector<base::Tuple<SkBitmap, base::FilePath>> DecodedImages;
20 20
21 #endif // EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ 21 #endif // EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_
22 22
23 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result) 23 IPC_STRUCT_TRAITS_BEGIN(UpdateManifest::Result)
24 IPC_STRUCT_TRAITS_MEMBER(extension_id) 24 IPC_STRUCT_TRAITS_MEMBER(extension_id)
25 IPC_STRUCT_TRAITS_MEMBER(version) 25 IPC_STRUCT_TRAITS_MEMBER(version)
26 IPC_STRUCT_TRAITS_MEMBER(browser_min_version) 26 IPC_STRUCT_TRAITS_MEMBER(browser_min_version)
27 IPC_STRUCT_TRAITS_MEMBER(package_hash) 27 IPC_STRUCT_TRAITS_MEMBER(package_hash)
28 IPC_STRUCT_TRAITS_MEMBER(crx_url) 28 IPC_STRUCT_TRAITS_MEMBER(crx_url)
29 IPC_STRUCT_TRAITS_END() 29 IPC_STRUCT_TRAITS_END()
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // DecodedImages struct into a file named kDecodedImagesFilename in the 86 // DecodedImages struct into a file named kDecodedImagesFilename in the
87 // directory that was passed in. This is done because the data is too large to 87 // directory that was passed in. This is done because the data is too large to
88 // pass over IPC. 88 // pass over IPC.
89 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Succeeded, 89 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Succeeded,
90 base::DictionaryValue /* manifest */) 90 base::DictionaryValue /* manifest */)
91 91
92 // Reply when the utility process has failed while unpacking an extension. 92 // Reply when the utility process has failed while unpacking an extension.
93 // |error_message| is a user-displayable explanation of what went wrong. 93 // |error_message| is a user-displayable explanation of what went wrong.
94 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Failed, 94 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Failed,
95 base::string16 /* error_message, if any */) 95 base::string16 /* error_message, if any */)
OLDNEW
« no previous file with comments | « extensions/browser/sandboxed_unpacker.cc ('k') | extensions/utility/unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698