diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-03 07:07:34 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-03 07:07:34 +0000 |
commit | b7c7bcf5e27134ea2077a3045772da1ae150fefa (patch) | |
tree | 14f2754390032972dd9d34eae249ac7701f5875c /chrome/browser/in_process_webkit/storage_namespace.h | |
parent | 75c91e64b82abaa843d9327f7b57cc9a0abe1696 (diff) | |
download | chromium_src-b7c7bcf5e27134ea2077a3045772da1ae150fefa.zip chromium_src-b7c7bcf5e27134ea2077a3045772da1ae150fefa.tar.gz chromium_src-b7c7bcf5e27134ea2077a3045772da1ae150fefa.tar.bz2 |
Another stab at the Chromium side of storage events. Re-submission of http://src.chromium.org/viewvc/chrome?view=rev&revision=27756 with slight changes in dom_storage_dispatch
er_host.cc
TBR=darin
TEST=Manually inspected that storage events fired. Will turn on more layout tests in a
subsequent patch.
BUG=19972
Original review URL: http://codereview.chromium.org/223013
Review URL: http://codereview.chromium.org/258010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27943 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/in_process_webkit/storage_namespace.h')
-rw-r--r-- | chrome/browser/in_process_webkit/storage_namespace.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/in_process_webkit/storage_namespace.h b/chrome/browser/in_process_webkit/storage_namespace.h index 712dd41..856f5de 100644 --- a/chrome/browser/in_process_webkit/storage_namespace.h +++ b/chrome/browser/in_process_webkit/storage_namespace.h @@ -31,7 +31,11 @@ class StorageNamespace { StorageNamespace* Copy(); void Close(); + const DOMStorageContext* dom_storage_context() const { + return dom_storage_context_; + } int64 id() const { return id_; } + DOMStorageType dom_storage_type() const { return dom_storage_type_; } private: // Called by the static factory methods above. @@ -53,7 +57,7 @@ class StorageNamespace { int64 id_; // SessionStorage vs. LocalStorage. - const DOMStorageType storage_type_; + const DOMStorageType dom_storage_type_; // The quota for each storage area. Suggested by the spec. static const unsigned kLocalStorageQuota = 5 * 1024 * 1024; |