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

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

Issue 19752007: Use builders to convert between WebKit and content IDB types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/indexed_db/indexed_db_key.cc ('k') | content/common/indexed_db/indexed_db_key_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_key_path.h
diff --git a/content/common/indexed_db/indexed_db_key_path.h b/content/common/indexed_db/indexed_db_key_path.h
index a89283c55b826b4b528d64d888f43af786905d97..1baae2f00ec2f73c52a43756c8276224e21e8d6a 100644
--- a/content/common/indexed_db/indexed_db_key_path.h
+++ b/content/common/indexed_db/indexed_db_key_path.h
@@ -10,7 +10,7 @@
#include "base/logging.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
-#include "third_party/WebKit/public/platform/WebIDBKeyPath.h"
+#include "third_party/WebKit/public/platform/WebIDBTypes.h"
namespace content {
@@ -19,17 +19,14 @@ class CONTENT_EXPORT IndexedDBKeyPath {
IndexedDBKeyPath(); // Defaults to WebKit::WebIDBKeyPathTypeNull.
explicit IndexedDBKeyPath(const string16&);
explicit IndexedDBKeyPath(const std::vector<string16>&);
- explicit IndexedDBKeyPath(const WebKit::WebIDBKeyPath&);
~IndexedDBKeyPath();
bool IsNull() const { return type_ == WebKit::WebIDBKeyPathTypeNull; }
- bool IsValid() const;
bool operator==(const IndexedDBKeyPath& other) const;
WebKit::WebIDBKeyPathType type() const { return type_; }
const std::vector<string16>& array() const;
const string16& string() const;
- operator WebKit::WebIDBKeyPath() const;
private:
WebKit::WebIDBKeyPathType type_;
« no previous file with comments | « content/common/indexed_db/indexed_db_key.cc ('k') | content/common/indexed_db/indexed_db_key_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698