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

Unified Diff: chrome/common/render_messages.h

Issue 3043037: Adds IDBKeyPath parser / extractor, and provides a mechanism to call it sandboxed. (Closed)
Patch Set: Makes MSVC happy. Created 10 years, 4 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
« no previous file with comments | « chrome/common/indexed_db_param_traits.h ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 2a516ed047fec3073c389189530264c4e6e81ee3..9d082bc79fb11ec842ede37eecd9f90b2c25ad59 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -23,7 +23,7 @@
#include "chrome/common/dom_storage_common.h"
#include "chrome/common/extensions/extension_extent.h" // used in struct
#include "chrome/common/font_descriptor_mac.h"
-#include "chrome/common/indexed_db_key.h" // used in struct
+#include "chrome/common/indexed_db_param_traits.h"
#include "chrome/common/navigation_gesture.h"
#include "chrome/common/page_transition_types.h"
#include "chrome/common/renderer_preferences.h" // used in struct
@@ -75,8 +75,6 @@ struct WebAccessibility;
struct EditCommand;
class ExtensionExtent;
-class IndexedDBKey;
-class SerializedScriptValue;
class SkBitmap;
class URLPattern;
@@ -1497,21 +1495,7 @@ struct ParamTraits<SyncLoadResult> {
}
};
-template <>
-struct ParamTraits<SerializedScriptValue> {
- typedef SerializedScriptValue param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, void** iter, param_type* r);
- static void Log(const param_type& p, std::wstring* l);
-};
-template <>
-struct ParamTraits<IndexedDBKey> {
- typedef IndexedDBKey param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, void** iter, param_type* r);
- static void Log(const param_type& p, std::wstring* l);
-};
// Traits for FormData structure to pack/unpack.
template <>
« no previous file with comments | « chrome/common/indexed_db_param_traits.h ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698