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

Side by Side Diff: content/public/browser/dom_storage_context.h

Issue 10413072: Teaching BrowsingDataRemover how to delete application data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bernhard. Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 virtual void DeleteOrigin(const GURL& origin) = 0; 33 virtual void DeleteOrigin(const GURL& origin) = 0;
34 34
35 // The stuff below is DEPRECATED. 35 // The stuff below is DEPRECATED.
36 typedef base::Callback<void(const std::vector<FilePath>&)> 36 typedef base::Callback<void(const std::vector<FilePath>&)>
37 GetAllStorageFilesCallback; 37 GetAllStorageFilesCallback;
38 virtual void GetAllStorageFiles( 38 virtual void GetAllStorageFiles(
39 const GetAllStorageFilesCallback& callback) = 0; 39 const GetAllStorageFilesCallback& callback) = 0;
40 virtual FilePath GetFilePath(const string16& origin_id) const = 0; 40 virtual FilePath GetFilePath(const string16& origin_id) const = 0;
41 virtual void DeleteForOrigin(const string16& origin_id) = 0; 41 virtual void DeleteForOrigin(const string16& origin_id) = 0;
42 virtual void DeleteLocalStorageFile(const FilePath& file_path) = 0; 42 virtual void DeleteLocalStorageFile(const FilePath& file_path) = 0;
43 virtual void DeleteDataModifiedSince(const base::Time& cutoff) = 0;
44 43
45 protected: 44 protected:
46 virtual ~DOMStorageContext() {} 45 virtual ~DOMStorageContext() {}
47 }; 46 };
48 47
49 } // namespace content 48 } // namespace content
50 49
51 #endif // CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_ 50 #endif // CONTENT_PUBLIC_BROWSER_DOM_STORAGE_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_impl.cc ('k') | webkit/dom_storage/dom_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698