Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_database.h |
| diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h |
| index 207c1f9c41a8dd7501f961c22f086a93865820e7..7aafe56e3294bf371404fd14f078517335db7409 100644 |
| --- a/content/browser/indexed_db/indexed_db_database.h |
| +++ b/content/browser/indexed_db/indexed_db_database.h |
| @@ -24,7 +24,10 @@ |
| #include "content/browser/indexed_db/indexed_db_transaction_coordinator.h" |
| #include "content/browser/indexed_db/list_set.h" |
| #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| -#include "url/gurl.h" |
| + |
| +namespace url { |
| +class Origin; |
| +} |
| namespace content { |
| @@ -44,8 +47,8 @@ class CONTENT_EXPORT IndexedDBDatabase |
| // An index and corresponding set of keys |
| typedef std::pair<int64_t, std::vector<IndexedDBKey>> IndexKeys; |
| - // Identifier is pair of (origin url, database name). |
| - typedef std::pair<GURL, base::string16> Identifier; |
| + // Identifier is pair of (origin, database name). |
| + typedef std::pair<url::Origin, base::string16> Identifier; |
|
cmumford
2016/03/31 20:54:16
using Identifier = std::pair<url::Origin, base::st
jsbell
2016/04/01 20:31:35
Done.
|
| static const int64_t kInvalidId = 0; |
| static const int64_t kMinimumIndexId = 30; |