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

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

Issue 19442002: Convert to new WebIDBTypes enums and accessors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content/common/DEPS 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 acbdcb48272b84acbb9302e135ec594d438a5b78..a89283c55b826b4b528d64d888f43af786905d97 100644
--- a/content/common/indexed_db/indexed_db_key_path.h
+++ b/content/common/indexed_db/indexed_db_key_path.h
@@ -16,23 +16,23 @@ namespace content {
class CONTENT_EXPORT IndexedDBKeyPath {
public:
- IndexedDBKeyPath(); // Defaults to WebKit::WebIDBKeyPath::NullType.
+ 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::WebIDBKeyPath::NullType; }
+ bool IsNull() const { return type_ == WebKit::WebIDBKeyPathTypeNull; }
bool IsValid() const;
bool operator==(const IndexedDBKeyPath& other) const;
- WebKit::WebIDBKeyPath::Type type() const { return type_; }
+ WebKit::WebIDBKeyPathType type() const { return type_; }
const std::vector<string16>& array() const;
const string16& string() const;
operator WebKit::WebIDBKeyPath() const;
private:
- WebKit::WebIDBKeyPath::Type type_;
+ WebKit::WebIDBKeyPathType type_;
string16 string_;
std::vector<string16> array_;
};
« 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