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 4afcb5984f04eaa8b82c0cb3580d1cf4b655e76c..1de74593b4eb2c75543f70e8f8c3affff546dc84 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, |
storage::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); |