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

Unified Diff: content/public/browser/dom_storage_context.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/content_tests.gypi ('k') | content/public/browser/local_storage_usage_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/dom_storage_context.h
diff --git a/content/public/browser/dom_storage_context.h b/content/public/browser/dom_storage_context.h
index d0c502f9fe01bab8a98aa16247d8039b75e28422..a4aba1e91e1b4f384a0e0eaa9891b8d6e062965c 100644
--- a/content/public/browser/dom_storage_context.h
+++ b/content/public/browser/dom_storage_context.h
@@ -9,29 +9,25 @@
#include <vector>
#include "base/callback.h"
-#include "content/common/content_export.h"
class GURL;
-namespace dom_storage {
-struct LocalStorageUsageInfo;
-struct SessionStorageUsageInfo;
-}
-
namespace content {
class BrowserContext;
+struct LocalStorageUsageInfo;
class SessionStorageNamespace;
+struct SessionStorageUsageInfo;
// Represents the per-BrowserContext Local Storage data.
class DOMStorageContext {
public:
typedef base::Callback<
- void(const std::vector<dom_storage::LocalStorageUsageInfo>&)>
+ void(const std::vector<LocalStorageUsageInfo>&)>
GetLocalStorageUsageCallback;
typedef base::Callback<
- void(const std::vector<dom_storage::SessionStorageUsageInfo>&)>
+ void(const std::vector<SessionStorageUsageInfo>&)>
GetSessionStorageUsageCallback;
// Returns a collection of origins using local storage to the given callback.
@@ -48,12 +44,12 @@ class DOMStorageContext {
// Deletes the session storage data identified by |usage_info|.
virtual void DeleteSessionStorage(
- const dom_storage::SessionStorageUsageInfo& usage_info) = 0;
+ const SessionStorageUsageInfo& usage_info) = 0;
// If this is called, sessionStorage data will be stored on disk, and can be
// restored after a browser restart (with RecreateSessionStorage). This
- // function must be called right after DOMStorageContextImpl is created, and
- // before it's used.
+ // function must be called right after DOMStorageContextWrapper is created,
+ // and before it's used.
virtual void SetSaveSessionStorageOnDisk() = 0;
// Creates a SessionStorageNamespace with the given |persistent_id|. Used
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/local_storage_usage_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698