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

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

Issue 11280030: Implement the ability to obliterate a storage partition from disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_STORAGE_PARTITION_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // 61 //
62 // TODO(ajwong): Right now, the embedder may have some 62 // TODO(ajwong): Right now, the embedder may have some
63 // URLRequestContextGetter objects that the StoragePartition does not know 63 // URLRequestContextGetter objects that the StoragePartition does not know
64 // about. This will no longer be the case when we resolve 64 // about. This will no longer be the case when we resolve
65 // http://crbug.com/159193. Remove |request_context_getter| when that bug 65 // http://crbug.com/159193. Remove |request_context_getter| when that bug
66 // is fixed. 66 // is fixed.
67 virtual void AsyncClearDataForOrigin( 67 virtual void AsyncClearDataForOrigin(
68 const GURL& storage_origin, 68 const GURL& storage_origin,
69 net::URLRequestContextGetter* request_context_getter) = 0; 69 net::URLRequestContextGetter* request_context_getter) = 0;
70 70
71 // Similar to AsyncClearDataForOrigin(), but deletes all data out of the
72 // StoragePartition rather than just the data related to this origin.
73 virtual void AsyncClearAllData() = 0;
74
71 protected: 75 protected:
72 virtual ~StoragePartition() {} 76 virtual ~StoragePartition() {}
73 }; 77 };
74 78
75 } // namespace content 79 } // namespace content
76 80
77 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 81 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698