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

Unified Diff: chrome/common/indexed_db_key.h

Issue 5695002: IndexedDB: Numeric keys are floating point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « no previous file | chrome/common/indexed_db_key.cc » ('j') | chrome/test/data/indexeddb/cursor_test.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/indexed_db_key.h
diff --git a/chrome/common/indexed_db_key.h b/chrome/common/indexed_db_key.h
index 29c17921c7cc722ddabeea3e28036967ba85ef08..60b4529db87bce8272e6982ef3a5691f1c5e265d 100644
--- a/chrome/common/indexed_db_key.h
+++ b/chrome/common/indexed_db_key.h
@@ -19,19 +19,19 @@ class IndexedDBKey {
void SetNull();
void SetInvalid();
void Set(const string16& string);
- void Set(int32_t number);
+ void Set(double number);
void Set(const WebKit::WebIDBKey& key);
WebKit::WebIDBKey::Type type() const { return type_; }
const string16& string() const { return string_; }
- int32_t number() const { return number_; }
+ double number() const { return number_; }
operator WebKit::WebIDBKey() const;
private:
WebKit::WebIDBKey::Type type_;
string16 string_;
- int32_t number_;
+ double number_;
};
#endif // CHROME_COMMON_INDEXED_DB_KEY_H_
« no previous file with comments | « no previous file | chrome/common/indexed_db_key.cc » ('j') | chrome/test/data/indexeddb/cursor_test.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698