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

Unified Diff: Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.h

Issue 12321031: Merge 143347 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 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 | « no previous file | Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.h
===================================================================
--- Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.h (revision 143522)
+++ Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.h (working copy)
@@ -61,14 +61,14 @@
String decodeString(const char* p, const char* end);
Vector<char> encodeStringWithLength(const String&);
const char* decodeStringWithLength(const char* p, const char* limit, String& foundString);
-int compareEncodedStringsWithLength(const char*& p, const char* limitP, const char*& q, const char* limitQ);
+int compareEncodedStringsWithLength(const char*& p, const char* limitP, const char*& q, const char* limitQ, bool& ok);
Vector<char> encodeDouble(double);
const char* decodeDouble(const char* p, const char* limit, double*);
void encodeIDBKey(const IDBKey&, Vector<char, DefaultInlineBufferSize>& into);
Vector<char> encodeIDBKey(const IDBKey&);
const char* decodeIDBKey(const char* p, const char* limit, RefPtr<IDBKey>& foundKey);
const char* extractEncodedIDBKey(const char* start, const char* limit, Vector<char>* result);
-int compareEncodedIDBKeys(const Vector<char>&, const Vector<char>&);
+int compareEncodedIDBKeys(const Vector<char>&, const Vector<char>&, bool& ok);
Vector<char> encodeIDBKeyPath(const IDBKeyPath&);
IDBKeyPath decodeIDBKeyPath(const char*, const char*);
@@ -271,7 +271,7 @@
static const char* decode(const char* start, const char* end, ObjectStoreDataKey* result);
static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, const Vector<char> encodedUserKey);
static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, const IDBKey& userKey);
- int compare(const ObjectStoreDataKey& other);
+ int compare(const ObjectStoreDataKey& other, bool& ok);
PassRefPtr<IDBKey> userKey() const;
static const int64_t SpecialIndexNumber;
@@ -284,7 +284,7 @@
static const char* decode(const char* start, const char* end, ExistsEntryKey* result);
static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, const Vector<char>& encodedKey);
static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, const IDBKey& userKey);
- int compare(const ExistsEntryKey& other);
+ int compare(const ExistsEntryKey& other, bool& ok);
PassRefPtr<IDBKey> userKey() const;
static const int64_t SpecialIndexNumber;
@@ -301,7 +301,7 @@
static Vector<char> encode(int64_t databaseId, int64_t objectStoreId, int64_t indexId, const IDBKey& userKey);
static Vector<char> encodeMinKey(int64_t databaseId, int64_t objectStoreId, int64_t indexId);
static Vector<char> encodeMaxKey(int64_t databaseId, int64_t objectStoreId, int64_t indexId);
- int compare(const IndexDataKey& other, bool ignoreDuplicates);
+ int compare(const IndexDataKey& other, bool ignoreDuplicates, bool& ok);
int64_t databaseId() const;
int64_t objectStoreId() const;
int64_t indexId() const;
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698