summaryrefslogtreecommitdiffstats
path: root/content/public/browser/dom_storage_context.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 21:18:24 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 21:18:24 +0000
commit98823c68c296118c68fd59302ad95562deee801c (patch)
tree186462456c0d1089c01e90619df25dc373828eb9 /content/public/browser/dom_storage_context.h
parentb4ab451d3dae31219cb65864919b4d58d61a35a2 (diff)
downloadchromium_src-98823c68c296118c68fd59302ad95562deee801c.zip
chromium_src-98823c68c296118c68fd59302ad95562deee801c.tar.gz
chromium_src-98823c68c296118c68fd59302ad95562deee801c.tar.bz2
Minor cleanup. Simplify the DOMStorageContext interface exposed by the content layer to embedders, trim it down to just two methods. Simplify the data structures used by the content settings helpers to represent local storage, one representation of the origin is enough, there's no need for three.
Review URL: https://chromiumcodereview.appspot.com/10535086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/dom_storage_context.h')
-rw-r--r--content/public/browser/dom_storage_context.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/content/public/browser/dom_storage_context.h b/content/public/browser/dom_storage_context.h
index 3fb0595..40d6387 100644
--- a/content/public/browser/dom_storage_context.h
+++ b/content/public/browser/dom_storage_context.h
@@ -9,11 +9,10 @@
#include <vector>
#include "base/callback.h"
-#include "base/string16.h"
#include "content/common/content_export.h"
#include "webkit/dom_storage/dom_storage_context.h"
-class FilePath;
+class GURL;
namespace content {
@@ -32,15 +31,6 @@ class DOMStorageContext {
// Deletes the local storage data for the given origin.
virtual void DeleteOrigin(const GURL& origin) = 0;
- // The stuff below is DEPRECATED.
- typedef base::Callback<void(const std::vector<FilePath>&)>
- GetAllStorageFilesCallback;
- virtual void GetAllStorageFiles(
- const GetAllStorageFilesCallback& callback) = 0;
- virtual FilePath GetFilePath(const string16& origin_id) const = 0;
- virtual void DeleteForOrigin(const string16& origin_id) = 0;
- virtual void DeleteLocalStorageFile(const FilePath& file_path) = 0;
-
protected:
virtual ~DOMStorageContext() {}
};