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

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

Issue 2664253006: Clears out external protocol data when cookies and site data is cleared. (Closed)
Patch Set: a Created 3 years, 10 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 8ffab0f25df8fa83f747f9f5e7fa4554bc09cdfa..8e106aea9a6e1f8d27b548a7c9d70d4a600c856a 100644
--- a/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
+++ b/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
@@ -40,6 +40,7 @@ extern const char kPasswordsKey[];
extern const char kServiceWorkersKey[];
extern const char kCacheStorageKey[];
extern const char kWebSQLKey[];
+extern const char kExternalProtocolKey[];
// Option keys.
extern const char kExtensionsKey[];
@@ -309,4 +310,17 @@ class BrowsingDataRemoveWebSQLFunction : public BrowsingDataRemoverFunction {
bool GetRemovalMask(int* removal_mask) override;
};
+class BrowsingDataRemoveExternalProtocolDataFunction
Devlin 2017/02/15 15:56:46 I don't see anywhere in the bug or CL description
ramyasharma 2017/02/16 03:29:47 This API was changed because test suite browsing_d
+ : public BrowsingDataRemoverFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("browsingData.removeExternalProtocolData",
+ BROWSINGDATA_REMOVEEXTERNALPROTOCOLDATA)
+
+ protected:
+ ~BrowsingDataRemoveExternalProtocolDataFunction() override {}
+
+ // BrowsingDataRemoverFunction:
+ bool GetRemovalMask(int* removal_mask) override;
+};
+
#endif // CHROME_BROWSER_EXTENSIONS_API_BROWSING_DATA_BROWSING_DATA_API_H_

Powered by Google App Engine
This is Rietveld 408576698