| Index: content/browser/indexed_db/indexed_db_leveldb_coding.h
|
| diff --git a/content/browser/indexed_db/indexed_db_leveldb_coding.h b/content/browser/indexed_db/indexed_db_leveldb_coding.h
|
| index e301562ca0f3a2a2942d642208a202643f67e187..caa932e97fe24be8fda3255b22f1edb407f0cae4 100644
|
| --- a/content/browser/indexed_db/indexed_db_leveldb_coding.h
|
| +++ b/content/browser/indexed_db/indexed_db_leveldb_coding.h
|
| @@ -194,10 +194,13 @@ class DatabaseNameKey {
|
| static const char* Decode(const char* start,
|
| const char* limit,
|
| DatabaseNameKey* result);
|
| - CONTENT_EXPORT static std::vector<char> Encode(const string16& origin,
|
| - const string16& database_name);
|
| - static std::vector<char> EncodeMinKeyForOrigin(const string16& origin);
|
| - static std::vector<char> EncodeStopKeyForOrigin(const string16& origin);
|
| + CONTENT_EXPORT static std::vector<char> Encode(
|
| + const std::string& origin_identifier,
|
| + const string16& database_name);
|
| + static std::vector<char> EncodeMinKeyForOrigin(
|
| + const std::string& origin_identifier);
|
| + static std::vector<char> EncodeStopKeyForOrigin(
|
| + const std::string& origin_identifier);
|
| string16 origin() const { return origin_; }
|
| string16 database_name() const { return database_name_; }
|
| int Compare(const DatabaseNameKey& other);
|
| @@ -337,9 +340,8 @@ class ObjectStoreNamesKey {
|
| string16 object_store_name() const { return object_store_name_; }
|
|
|
| private:
|
| - string16
|
| - object_store_name_; // TODO(jsbell): Store the encoded string, or just
|
| - // pointers to it.
|
| + // TODO(jsbell): Store the encoded string, or just pointers to it.
|
| + string16 object_store_name_;
|
| };
|
|
|
| class IndexNamesKey {
|
|
|