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

Side by Side Diff: content/common/indexed_db/indexed_db_param_traits.h

Issue 8980002: Move indexeddb code to its own directory inside of content/{browser,common,renderer} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto ToT Created 9 years 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) 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 CONTENT_COMMON_INDEXED_DB_PARAM_TRAITS_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_
6 #define CONTENT_COMMON_INDEXED_DB_PARAM_TRAITS_H_ 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ipc/ipc_param_traits.h" 10 #include "ipc/ipc_param_traits.h"
11 11
12 class IndexedDBKey; 12 class IndexedDBKey;
13 13
14 namespace content { 14 namespace content {
15 class SerializedScriptValue; 15 class SerializedScriptValue;
16 } 16 }
(...skipping 16 matching lines...) Expand all
33 template <> 33 template <>
34 struct ParamTraits<IndexedDBKey> { 34 struct ParamTraits<IndexedDBKey> {
35 typedef IndexedDBKey param_type; 35 typedef IndexedDBKey param_type;
36 static void Write(Message* m, const param_type& p); 36 static void Write(Message* m, const param_type& p);
37 static bool Read(const Message* m, void** iter, param_type* r); 37 static bool Read(const Message* m, void** iter, param_type* r);
38 static void Log(const param_type& p, std::string* l); 38 static void Log(const param_type& p, std::string* l);
39 }; 39 };
40 40
41 } // namespace IPC 41 } // namespace IPC
42 42
43 #endif // CONTENT_COMMON_INDEXED_DB_PARAM_TRAITS_H_ 43 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | content/common/indexed_db/indexed_db_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698