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

Unified Diff: chrome/browser/extensions/api/browsing_data/browsing_data_api.h

Issue 10522002: `chrome.browsingData` extension API can now remove data from protected origins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/browsing_data/browsing_data_api.h
diff --git a/chrome/browser/extensions/api/browsing_data/browsing_data_api.h b/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
index 1aa344980b4ccfc3bd94881dad6ad014ad1cdeac..c237ce215a6e20a505767ed2d027ec31d3c4a9ec 100644
--- a/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
+++ b/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
@@ -34,7 +34,11 @@ extern const char kPasswordsKey[];
extern const char kWebSQLKey[];
// Option keys.
+extern const char kExtensionsKey[];
+extern const char kOriginTypesKey[];
+extern const char kProtectedWebKey[];
extern const char kSinceKey[];
+extern const char kUnprotectedWebKey[];
// Errors!
extern const char kOneAtATimeError[];
@@ -75,6 +79,7 @@ class BrowsingDataExtensionFunction : public AsyncExtensionFunction,
base::Time remove_since_;
int removal_mask_;
+ int origin_set_mask_;
};
class RemoveAppCacheFunction : public BrowsingDataExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698