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

Unified Diff: content/common/indexed_db/indexed_db_param_traits.h

Issue 10272018: Move IndexedDBKey, IndexedDBKeyRange into content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use "using content::*" aliasing for IDB/SSV types Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/common/indexed_db/indexed_db_param_traits.h
diff --git a/content/common/indexed_db/indexed_db_param_traits.h b/content/common/indexed_db/indexed_db_param_traits.h
index 274e6532b7312221521e97105ee894531d8648f0..0e151b25fd780ad3200b6d753d9b4d2714ad9b57 100644
--- a/content/common/indexed_db/indexed_db_param_traits.h
+++ b/content/common/indexed_db/indexed_db_param_traits.h
@@ -9,11 +9,10 @@
#include "ipc/ipc_message.h"
#include "ipc/ipc_param_traits.h"
-class IndexedDBKey;
-class IndexedDBKeyRange;
-
namespace content {
+class IndexedDBKey;
class IndexedDBKeyPath;
+class IndexedDBKeyRange;
class SerializedScriptValue;
}
@@ -33,24 +32,24 @@ struct ParamTraits<content::SerializedScriptValue> {
};
template <>
-struct ParamTraits<IndexedDBKey> {
- typedef IndexedDBKey param_type;
+struct ParamTraits<content::IndexedDBKey> {
+ typedef content::IndexedDBKey param_type;
static void Write(Message* m, const param_type& p);
static bool Read(const Message* m, PickleIterator* iter, param_type* r);
static void Log(const param_type& p, std::string* l);
};
template <>
-struct ParamTraits<content::IndexedDBKeyPath> {
- typedef content::IndexedDBKeyPath param_type;
+struct ParamTraits<content::IndexedDBKeyRange> {
+ typedef content::IndexedDBKeyRange param_type;
static void Write(Message* m, const param_type& p);
static bool Read(const Message* m, PickleIterator* iter, param_type* r);
static void Log(const param_type& p, std::string* l);
};
template <>
-struct ParamTraits<IndexedDBKeyRange> {
- typedef IndexedDBKeyRange param_type;
+struct ParamTraits<content::IndexedDBKeyPath> {
+ typedef content::IndexedDBKeyPath param_type;
static void Write(Message* m, const param_type& p);
static bool Read(const Message* m, PickleIterator* iter, param_type* r);
static void Log(const param_type& p, std::string* l);
« 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