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

Issue 578373002: Interstitial options are not OR'd properly. (Closed)

Created:
6 years, 3 months ago by jww
Modified:
6 years, 3 months ago
Reviewers:
Charlie Reis, meacer
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src@master
Project:
chromium
Visibility:
Public.

Description

Interstitial options are not OR'd properly. Instead of bitwise ORing the interstitial options, we were simply assigning new values. This CL changes the assignment to a proper bitwise OR so all options are maintained. R=meacer@chromium.org, TBR=jam@chromium.org,creis@chromium.org BUG=415256 Committed: https://crrev.com/3a18d0b750ce048eed897ca3e22a3bccaec2fd3c Cr-Commit-Position: refs/heads/master@{#295807}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed API to pass options_mask through #

Total comments: 3

Patch Set 3 : Reverted to no enum in public API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (10 generated)
jww
6 years, 3 months ago (2014-09-18 17:57:01 UTC) #2
meacer
Lgtm https://codereview.chromium.org/578373002/diff/1/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/578373002/diff/1/chrome/browser/chrome_content_browser_client.cc#newcode1715 chrome/browser/chrome_content_browser_client.cc:1715: options_mask |= SSLBlockingPage::OVERRIDABLE; Looks like overridable, strict_enforcement and ...
6 years, 3 months ago (2014-09-18 18:03:33 UTC) #3
jww
jam@, can you take a look at content/ and browser/? Should be a pretty straightforward ...
6 years, 3 months ago (2014-09-18 20:11:19 UTC) #5
jww
creis@, would you mind taking a look at content/? It appears that jam@ is OOO, ...
6 years, 3 months ago (2014-09-19 17:27:30 UTC) #8
Charlie Reis
The tradeoff here is between "fanning out" the mask into 3 bools in the public ...
6 years, 3 months ago (2014-09-19 20:00:12 UTC) #10
jam
On 2014/09/19 20:00:12, Charlie Reis wrote: > The tradeoff here is between "fanning out" the ...
6 years, 3 months ago (2014-09-19 20:04:30 UTC) #11
jww
On 2014/09/19 20:04:30, jam wrote: > On 2014/09/19 20:00:12, Charlie Reis wrote: > > The ...
6 years, 3 months ago (2014-09-19 20:07:02 UTC) #12
Charlie Reis
On 2014/09/19 20:07:02, jww wrote: > On 2014/09/19 20:04:30, jam wrote: > > On 2014/09/19 ...
6 years, 3 months ago (2014-09-19 20:22:13 UTC) #13
jww
On 2014/09/19 20:22:13, Charlie Reis wrote: > On 2014/09/19 20:07:02, jww wrote: > > On ...
6 years, 3 months ago (2014-09-19 21:02:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578373002/40001
6 years, 3 months ago (2014-09-19 21:04:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578373002/40001
6 years, 3 months ago (2014-09-19 21:04:23 UTC) #18
Charlie Reis
Great. Not that you need it anymore, but LGTM.
6 years, 3 months ago (2014-09-19 21:09:39 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/11511)
6 years, 3 months ago (2014-09-19 21:54:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578373002/40001
6 years, 3 months ago (2014-09-19 22:17:27 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001) as b800a7efeaf30ee792ee874270ba3b8433a8d1c0
6 years, 3 months ago (2014-09-19 23:27:07 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 23:28:05 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3a18d0b750ce048eed897ca3e22a3bccaec2fd3c
Cr-Commit-Position: refs/heads/master@{#295807}

Powered by Google App Engine
This is Rietveld 408576698