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

Unified Diff: chrome/browser/resources/options/clear_browser_data_overlay.js

Issue 1404793007: Restart the browsing data counters when the CBD dialog is opened. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment about parameters. Created 5 years, 2 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/ui/webui/options/clear_browser_data_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/clear_browser_data_overlay.js
diff --git a/chrome/browser/resources/options/clear_browser_data_overlay.js b/chrome/browser/resources/options/clear_browser_data_overlay.js
index e59811120b28f5f70a0ec5d9120e03fee533fffa..e6b5612a33c71bec3991ad9a0b5cec0ce1f27960 100644
--- a/chrome/browser/resources/options/clear_browser_data_overlay.js
+++ b/chrome/browser/resources/options/clear_browser_data_overlay.js
@@ -90,6 +90,11 @@ cr.define('options', function() {
this.updateStateOfControls_();
},
+ /** @override */
+ didShowPage: function() {
+ chrome.send('openedClearBrowserData');
+ },
+
/**
* Create a footer that explains that some content is not cleared by the
* clear browsing data dialog and warns that the deletion may be synced.
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/clear_browser_data_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698