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

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

Issue 3043037: Adds IDBKeyPath parser / extractor, and provides a mechanism to call it sandboxed. (Closed)
Patch Set: Makes MSVC happy. Created 10 years, 4 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/render_messages_internal.h ('k') | chrome/common/utility_messages_internal.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_UTILITY_MESSAGES_H_ 5 #ifndef CHROME_COMMON_UTILITY_MESSAGES_H_
6 #define CHROME_COMMON_UTILITY_MESSAGES_H_ 6 #define CHROME_COMMON_UTILITY_MESSAGES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/common/common_param_traits.h" 14 #include "chrome/common/common_param_traits.h"
15 #include "chrome/common/extensions/update_manifest.h" 15 #include "chrome/common/extensions/update_manifest.h"
16 #include "chrome/common/indexed_db_param_traits.h"
16 #include "ipc/ipc_message_utils.h" 17 #include "ipc/ipc_message_utils.h"
17 18
18 namespace IPC { 19 namespace IPC {
19 20
20 // Traits for UpdateManifest::Result. 21 // Traits for UpdateManifest::Result.
21 template <> 22 template <>
22 struct ParamTraits<UpdateManifest::Result> { 23 struct ParamTraits<UpdateManifest::Result> {
23 typedef UpdateManifest::Result param_type; 24 typedef UpdateManifest::Result param_type;
24 static void Write(Message* m, const param_type& p) { 25 static void Write(Message* m, const param_type& p) {
25 WriteParam(m, p.extension_id); 26 WriteParam(m, p.extension_id);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 l->append(L")"); 70 l->append(L")");
70 } 71 }
71 }; 72 };
72 73
73 } // namespace IPC 74 } // namespace IPC
74 75
75 #define MESSAGES_INTERNAL_FILE "chrome/common/utility_messages_internal.h" 76 #define MESSAGES_INTERNAL_FILE "chrome/common/utility_messages_internal.h"
76 #include "ipc/ipc_message_macros.h" 77 #include "ipc/ipc_message_macros.h"
77 78
78 #endif // CHROME_COMMON_UTILITY_MESSAGES_H_ 79 #endif // CHROME_COMMON_UTILITY_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/common/utility_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698