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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
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 #pragma once
8 7
9 #include "ipc/ipc_message.h" 8 #include "ipc/ipc_message.h"
10 #include "ipc/ipc_param_traits.h" 9 #include "ipc/ipc_param_traits.h"
11 10
12 namespace content { 11 namespace content {
13 class IndexedDBKey; 12 class IndexedDBKey;
14 class IndexedDBKeyPath; 13 class IndexedDBKeyPath;
15 class IndexedDBKeyRange; 14 class IndexedDBKeyRange;
16 class SerializedScriptValue; 15 class SerializedScriptValue;
17 } 16 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 struct ParamTraits<content::IndexedDBKeyPath> { 50 struct ParamTraits<content::IndexedDBKeyPath> {
52 typedef content::IndexedDBKeyPath param_type; 51 typedef content::IndexedDBKeyPath param_type;
53 static void Write(Message* m, const param_type& p); 52 static void Write(Message* m, const param_type& p);
54 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 53 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
55 static void Log(const param_type& p, std::string* l); 54 static void Log(const param_type& p, std::string* l);
56 }; 55 };
57 56
58 } // namespace IPC 57 } // namespace IPC
59 58
60 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_ 59 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_PARAM_TRAITS_H_
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_message_filter.h ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698