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 9667ec3fe269ae4e16f5e6ce740c3cefb0d6b448..da2878bdb6fb67e9dda161c01e4f40bca919ac86 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,6 +68,8 @@ class CONTENT_EXPORT IndexedDBContextImpl |
std::vector<IndexedDBInfo> GetAllOriginsInfo() override; |
int64 GetOriginDiskUsage(const GURL& origin_url) override; |
void DeleteForOrigin(const GURL& origin_url) override; |
+ void CopyOriginData(const GURL& origin_url, |
+ IndexedDBContext* dest_context) override; |
base::FilePath GetFilePathForTesting( |
const std::string& origin_id) const override; |
void SetTaskRunnerForTesting(base::SequencedTaskRunner* task_runner) override; |
@@ -91,6 +94,7 @@ class CONTENT_EXPORT IndexedDBContextImpl |
// GetStoragePaths returns all paths owned by this database, in arbitrary |
// order. |
std::vector<base::FilePath> GetStoragePaths(const GURL& origin_url) const; |
+ |
base::FilePath data_path() const { return data_path_; } |
bool IsInOriginSet(const GURL& origin_url) { |
std::set<GURL>* set = GetOriginSet(); |