summaryrefslogtreecommitdiffstats
path: root/chrome/browser/in_process_webkit/webkit_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/in_process_webkit/webkit_context.h')
-rw-r--r--chrome/browser/in_process_webkit/webkit_context.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/in_process_webkit/webkit_context.h b/chrome/browser/in_process_webkit/webkit_context.h
index ee4c61b..b359ab0 100644
--- a/chrome/browser/in_process_webkit/webkit_context.h
+++ b/chrome/browser/in_process_webkit/webkit_context.h
@@ -10,6 +10,7 @@
#include "base/scoped_ptr.h"
class DOMStorageContext;
+class WebKitThread;
// There's one WebKitContext per profile. Various DispatcherHost classes
// have a pointer to the Context to store shared state.
@@ -19,9 +20,9 @@ class WebKitContext : public base::RefCountedThreadSafe<WebKitContext> {
const FilePath& data_path() const { return data_path_; }
bool is_incognito() const { return is_incognito_; }
-
- // Initialized lazily. Pointer is valid for the lifetime of this instance.
- DOMStorageContext* GetDOMStorageContext();
+ DOMStorageContext* dom_storage_context() {
+ return dom_storage_context_.get();
+ }
private:
friend class base::RefCountedThreadSafe<WebKitContext>;
@@ -31,7 +32,6 @@ class WebKitContext : public base::RefCountedThreadSafe<WebKitContext> {
const FilePath data_path_;
const bool is_incognito_;
- // The state for DOM Storage.
scoped_ptr<DOMStorageContext> dom_storage_context_;
DISALLOW_IMPLICIT_CONSTRUCTORS(WebKitContext);