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

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

Issue 311263014: IndexedDB: Fix trivial cpplint.py errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_INDEXED_DB_PARAM_TRAITS_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_
6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_ 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_
7 7
8 #include <string>
9
8 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
9 #include "ipc/ipc_param_traits.h" 11 #include "ipc/ipc_param_traits.h"
10 12
11 namespace content { 13 namespace content {
12 class IndexedDBKey; 14 class IndexedDBKey;
13 class IndexedDBKeyPath; 15 class IndexedDBKeyPath;
14 class IndexedDBKeyRange; 16 class IndexedDBKeyRange;
15 } 17 }
16 18
17 namespace IPC { 19 namespace IPC {
(...skipping 15 matching lines...) Expand all
33 }; 35 };
34 36
35 template <> 37 template <>
36 struct ParamTraits<content::IndexedDBKeyPath> { 38 struct ParamTraits<content::IndexedDBKeyPath> {
37 typedef content::IndexedDBKeyPath param_type; 39 typedef content::IndexedDBKeyPath param_type;
38 static void Write(Message* m, const param_type& p); 40 static void Write(Message* m, const param_type& p);
39 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 41 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
40 static void Log(const param_type& p, std::string* l); 42 static void Log(const param_type& p, std::string* l);
41 }; 43 };
42 44
43 } // namespace IPC 45 } // namespace IPC
44 46
45 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_ 47 #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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698