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

Issue 11000022: Sanity checks to make sure we are not trying to clear Content Licenses when Flash Pepper is not in … (Closed)

Created:
8 years, 2 months ago by engedy
Modified:
8 years, 2 months ago
Reviewers:
yzshen1, Evan Stade
CC:
chromium-reviews, Bernhard Bauer, Mike West
Visibility:
Public.

Description

Sanity checks to make sure we are not trying to clear Content Licenses when Flash Pepper is not in use. Added sanity checks to ClearBrowserDataHandler to ensure that when it calls BrowsingDataRemover::Remove, the |remove_mask| will not have the REMOVE_CONTENT_LICENSES flag set when PPAPI Flash is disabled -- even if the corresponding "Deauthorize Content Licenses" checkbox on the "Clear Browsing Data" dialog is checked. This is required because while removing Content Licenses is only possible with PPAPI Flash, the checked state for the check-box is persisted, and thus even though the check-box gets hidden when PPAPI Flash is disabled, it will still be checked behind the curtains, and would cause the above-mentioned flag to be set. We opt to keep the persisted checked-state for the check-box though, to provide consistency in the case PPAPI Flash gets re-enabled later. This is the first of two CLs to address the issue mentioned below. It is in itself enough to fix the issue, but given that the issue actually discovered two bugs, there is an other CL to fix the other bug too. See issue for details. BUG=144874 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159667

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M chrome/browser/ui/webui/options/clear_browser_data_handler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/clear_browser_data_handler.cc View 1 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
engedy
Please review this one also.
8 years, 2 months ago (2012-09-29 17:29:38 UTC) #1
yzshen1
LGTM Thanks for fixing the bug!
8 years, 2 months ago (2012-09-30 18:27:01 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/11000022/1
8 years, 2 months ago (2012-10-01 08:23:09 UTC) #3
commit-bot: I haz the power
Presubmit check for 11000022-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-01 08:23:13 UTC) #4
engedy
Could you please review for owner's approval?
8 years, 2 months ago (2012-10-01 08:27:06 UTC) #5
Evan Stade
lgtm http://codereview.chromium.org/11000022/diff/1/chrome/browser/ui/webui/options/clear_browser_data_handler.cc File chrome/browser/ui/webui/options/clear_browser_data_handler.cc (right): http://codereview.chromium.org/11000022/diff/1/chrome/browser/ui/webui/options/clear_browser_data_handler.cc#newcode143 chrome/browser/ui/webui/options/clear_browser_data_handler.cc:143: *pepper_flash_settings_enabled_) curlies
8 years, 2 months ago (2012-10-01 08:45:39 UTC) #6
engedy
http://codereview.chromium.org/11000022/diff/1/chrome/browser/ui/webui/options/clear_browser_data_handler.cc File chrome/browser/ui/webui/options/clear_browser_data_handler.cc (right): http://codereview.chromium.org/11000022/diff/1/chrome/browser/ui/webui/options/clear_browser_data_handler.cc#newcode143 chrome/browser/ui/webui/options/clear_browser_data_handler.cc:143: *pepper_flash_settings_enabled_) On 2012/10/01 08:45:39, Evan Stade wrote: > curlies ...
8 years, 2 months ago (2012-10-01 08:53:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/11000022/9002
8 years, 2 months ago (2012-10-01 08:53:35 UTC) #8
commit-bot: I haz the power
Retried try job too often for step(s) compile
8 years, 2 months ago (2012-10-01 08:56:38 UTC) #9
engedy
On 2012/10/01 08:56:38, I haz the power (commit-bot) wrote: > Retried try job too often ...
8 years, 2 months ago (2012-10-01 09:08:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/11000022/9004
8 years, 2 months ago (2012-10-01 09:09:09 UTC) #11
commit-bot: I haz the power
Retried try job too often for step(s) compile
8 years, 2 months ago (2012-10-01 09:12:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/11000022/9004
8 years, 2 months ago (2012-10-01 17:37:54 UTC) #13
commit-bot: I haz the power
Retried try job too often for step(s) crypto_unittests, unit_tests, cacheinvalidation_unittests, remoting_unittests, jingle_unittests, nacl_integration, ipc_tests, interactive_ui_tests, ...
8 years, 2 months ago (2012-10-01 17:42:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/11000022/9004
8 years, 2 months ago (2012-10-02 08:18:07 UTC) #15
commit-bot: I haz the power
8 years, 2 months ago (2012-10-02 10:34:52 UTC) #16
Change committed as 159667

Powered by Google App Engine
This is Rietveld 408576698