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

Unified Diff: chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h

Issue 567643002: Moving cleardata extension function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h
diff --git a/chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h b/chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h
index 7d83e3ebe731ee98c7bf82df9a02c9d7163cd45f..dfda54848454e9a45304c27146a28b48e7e09e5e 100644
--- a/chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h
+++ b/chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h
@@ -83,34 +83,6 @@ class ChromeWebViewInternalContextMenusRemoveAllFunction
DISALLOW_COPY_AND_ASSIGN(ChromeWebViewInternalContextMenusRemoveAllFunction);
};
-class ChromeWebViewInternalClearDataFunction
- : public WebViewInternalExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("chromeWebViewInternal.clearData",
- WEBVIEWINTERNAL_CLEARDATA);
-
- ChromeWebViewInternalClearDataFunction();
-
- protected:
- virtual ~ChromeWebViewInternalClearDataFunction();
-
- private:
- // WebViewInternalExtensionFunction implementation.
- virtual bool RunAsyncSafe(WebViewGuest* guest) OVERRIDE;
-
- uint32 GetRemovalMask();
- void ClearDataDone();
-
- // Removal start time.
- base::Time remove_since_;
- // Removal mask, corresponds to StoragePartition::RemoveDataMask enum.
- uint32 remove_mask_;
- // Tracks any data related or parse errors.
- bool bad_message_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeWebViewInternalClearDataFunction);
-};
-
class ChromeWebViewInternalShowContextMenuFunction
: public WebViewInternalExtensionFunction {
public:
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698