| 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 5debfda19846007142d9b588f2f5a379f579d35f..62d8e315ccbec203235c1c87205858efc60dfe30 100644
|
| --- a/content/browser/indexed_db/indexed_db_context_impl.h
|
| +++ b/content/browser/indexed_db/indexed_db_context_impl.h
|
| @@ -40,6 +40,17 @@ class IndexedDBConnection;
|
| class CONTENT_EXPORT IndexedDBContextImpl
|
| : NON_EXPORTED_BASE(public IndexedDBContext) {
|
| public:
|
| + // Recorded in histograms, so append only.
|
| + enum ForceCloseReason {
|
| + FORCE_CLOSE_DELETE_ORIGIN = 0,
|
| + FORCE_CLOSE_BACKING_STORE_FAILURE,
|
| + FORCE_CLOSE_INTERNALS_PAGE,
|
| + FORCE_CLOSE_REASON_MAX
|
| + };
|
| +
|
| + // The indexed db directory.
|
| + static const base::FilePath::CharType kIndexedDBDirectory[];
|
| +
|
| // If |data_path| is empty, nothing will be saved to disk.
|
| IndexedDBContextImpl(const base::FilePath& data_path,
|
| quota::SpecialStoragePolicy* special_storage_policy,
|
| @@ -48,9 +59,6 @@ class CONTENT_EXPORT IndexedDBContextImpl
|
|
|
| IndexedDBFactory* GetIDBFactory();
|
|
|
| - // The indexed db directory.
|
| - static const base::FilePath::CharType kIndexedDBDirectory[];
|
| -
|
| // Disables the exit-time deletion of session-only data.
|
| void SetForceKeepSessionState() { force_keep_session_state_ = true; }
|
|
|
| @@ -78,14 +86,6 @@ class CONTENT_EXPORT IndexedDBContextImpl
|
| base::Time GetOriginLastModified(const GURL& origin_url);
|
| base::ListValue* GetAllOriginsDetails();
|
|
|
| - // Recorded in histograms, so append only.
|
| - enum ForceCloseReason {
|
| - FORCE_CLOSE_DELETE_ORIGIN = 0,
|
| - FORCE_CLOSE_BACKING_STORE_FAILURE,
|
| - FORCE_CLOSE_INTERNALS_PAGE,
|
| - FORCE_CLOSE_REASON_MAX
|
| - };
|
| -
|
| // ForceClose takes a value rather than a reference since it may release the
|
| // owning object.
|
| void ForceClose(const GURL origin_url, ForceCloseReason reason);
|
|
|