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

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

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
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.h ('k') | content/common/indexed_db_key.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/common/indexed_db_param_traits.h" 5 #include "content/common/indexed_db/indexed_db_param_traits.h"
6 6
7 #include "content/common/indexed_db_key.h" 7 #include "content/common/indexed_db/indexed_db_key.h"
8 #include "content/public/common/serialized_script_value.h" 8 #include "content/public/common/serialized_script_value.h"
9 #include "ipc/ipc_message_utils.h" 9 #include "ipc/ipc_message_utils.h"
10 10
11 namespace IPC { 11 namespace IPC {
12 12
13 void ParamTraits<content::SerializedScriptValue>::Write(Message* m, 13 void ParamTraits<content::SerializedScriptValue>::Write(Message* m,
14 const param_type& p) { 14 const param_type& p) {
15 WriteParam(m, p.is_null()); 15 WriteParam(m, p.is_null());
16 WriteParam(m, p.is_invalid()); 16 WriteParam(m, p.is_invalid());
17 WriteParam(m, p.data()); 17 WriteParam(m, p.data());
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 l->append("], "); 130 l->append("], ");
131 LogParam(p.string(), l); 131 LogParam(p.string(), l);
132 l->append(", "); 132 l->append(", ");
133 LogParam(p.date(), l); 133 LogParam(p.date(), l);
134 l->append(", "); 134 l->append(", ");
135 LogParam(p.number(), l); 135 LogParam(p.number(), l);
136 l->append(")"); 136 l->append(")");
137 } 137 }
138 138
139 } // namespace IPC 139 } // namespace IPC
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.h ('k') | content/common/indexed_db_key.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698