Index: content/browser/indexed_db/indexed_db_context_impl.h |
diff --git a/content/browser/indexed_db/indexed_db_context_impl.h b/content/browser/indexed_db/indexed_db_context_impl.h |
index 8fff76c7a3098d43c24332f0f5784709fab1c047..169c9eb848a53342ef4929e30c6f058eeda26f8a 100644 |
--- a/content/browser/indexed_db/indexed_db_context_impl.h |
+++ b/content/browser/indexed_db/indexed_db_context_impl.h |
@@ -45,6 +45,7 @@ class CONTENT_EXPORT IndexedDBContextImpl |
FORCE_CLOSE_DELETE_ORIGIN = 0, |
FORCE_CLOSE_BACKING_STORE_FAILURE, |
FORCE_CLOSE_INTERNALS_PAGE, |
+ FORCE_CLOSE_COPY_ORIGIN, |
FORCE_CLOSE_REASON_MAX |
}; |
@@ -67,8 +68,9 @@ class CONTENT_EXPORT IndexedDBContextImpl |
std::vector<IndexedDBInfo> GetAllOriginsInfo() override; |
int64 GetOriginDiskUsage(const GURL& origin_url) override; |
void DeleteForOrigin(const GURL& origin_url) override; |
- base::FilePath GetFilePathForTesting( |
- const std::string& origin_id) const override; |
+ void CopyOriginData(const GURL& origin_url, |
+ IndexedDBContext* dest_context) override; |
+ base::FilePath GetFilePath(const GURL& origin_url) const override; |
void SetTaskRunnerForTesting(base::SequencedTaskRunner* task_runner) override; |
// Methods called by IndexedDBDispatcherHost for quota support. |
@@ -89,7 +91,6 @@ class CONTENT_EXPORT IndexedDBContextImpl |
// owning object. |
void ForceClose(const GURL origin_url, ForceCloseReason reason); |
- base::FilePath GetFilePath(const GURL& origin_url) const; |
base::FilePath data_path() const { return data_path_; } |
bool IsInOriginSet(const GURL& origin_url) { |
std::set<GURL>* set = GetOriginSet(); |