Chromium Code Reviews
DescriptionRestart counters when the MD CBD dialog is reopened.
We call Restart() on all counters in HandleInitialize(), which is called
every time the dialog is (re)opened.
Note that counters are added to ClearBrowsingDataHandler in
OnJavascriptAllowed() and removed in OnJavascriptDisallowed(), so we
know that if counters exist, JavaScript is allowed.
BUG=674040
Review-Url: https://codereview.chromium.org/2585633003
Cr-Commit-Position: refs/heads/master@{#442344}
Committed: https://chromium.googlesource.com/chromium/src/+/0eb377ef00cb7afd8392ff44f6ab94b7848b359f
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase. #Patch Set 3 : Remove the duplicate Restart() #Messages
Total messages: 16 (9 generated)
|