Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: content/renderer/dom_storage/dom_storage_cached_area.h

Issue 22297005: Move webkit/{browser,common}/dom_storage into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/dom_storage/OWNERS ('k') | content/renderer/dom_storage/dom_storage_cached_area.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_storage/dom_storage_cached_area.h
diff --git a/content/renderer/dom_storage/dom_storage_cached_area.h b/content/renderer/dom_storage/dom_storage_cached_area.h
index 2aa4cd9ffa2795b80d4bd8c23642d59f944b8018..b99103885537822d9a4c309671bd37db25862d56 100644
--- a/content/renderer/dom_storage/dom_storage_cached_area.h
+++ b/content/renderer/dom_storage/dom_storage_cached_area.h
@@ -13,13 +13,10 @@
#include "content/common/content_export.h"
#include "url/gurl.h"
-namespace dom_storage {
-class DomStorageMap;
-}
-
namespace content {
-class DomStorageProxy;
+class DOMStorageMap;
+class DOMStorageProxy;
// Unlike the other classes in the dom_storage library, this one is intended
// for use in renderer processes. It maintains a complete cache of the
@@ -27,12 +24,12 @@ class DomStorageProxy;
// first access and changes are written to the backend thru the |proxy|.
// Mutations originating in other processes are applied to the cache via
// the ApplyMutation method.
-class CONTENT_EXPORT DomStorageCachedArea
- : public base::RefCounted<DomStorageCachedArea> {
+class CONTENT_EXPORT DOMStorageCachedArea
+ : public base::RefCounted<DOMStorageCachedArea> {
public:
- DomStorageCachedArea(int64 namespace_id,
+ DOMStorageCachedArea(int64 namespace_id,
const GURL& origin,
- DomStorageProxy* proxy);
+ DOMStorageProxy* proxy);
int64 namespace_id() const { return namespace_id_; }
const GURL& origin() const { return origin_; }
@@ -55,9 +52,9 @@ class CONTENT_EXPORT DomStorageCachedArea
size_t MemoryBytesUsedByCache() const;
private:
- friend class DomStorageCachedAreaTest;
- friend class base::RefCounted<DomStorageCachedArea>;
- ~DomStorageCachedArea();
+ friend class DOMStorageCachedAreaTest;
+ friend class base::RefCounted<DOMStorageCachedArea>;
+ ~DOMStorageCachedArea();
// Primes the cache, loading all values for the area.
void Prime(int connection_id);
@@ -87,9 +84,9 @@ class CONTENT_EXPORT DomStorageCachedArea
int64 namespace_id_;
GURL origin_;
- scoped_refptr<dom_storage::DomStorageMap> map_;
- scoped_refptr<DomStorageProxy> proxy_;
- base::WeakPtrFactory<DomStorageCachedArea> weak_factory_;
+ scoped_refptr<DOMStorageMap> map_;
+ scoped_refptr<DOMStorageProxy> proxy_;
+ base::WeakPtrFactory<DOMStorageCachedArea> weak_factory_;
};
} // namespace content
« no previous file with comments | « content/renderer/dom_storage/OWNERS ('k') | content/renderer/dom_storage/dom_storage_cached_area.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698