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

Issue 676083003: Listen to Off The Record profiles in ContentSettingsHandler. (Closed)

Created:
6 years, 1 month ago by scheib
Modified:
6 years, 1 month ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, dbeam+watch-options_chromium.org, Daniel Nishi
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Project:
chromium
Visibility:
Public.

Description

Listen to Off The Record profiles in ContentSettingsHandler. ContentSettingsHandler is now made aware of Off The Record profiles and will observe them as well, correcting bugs where changes from the settings webUI would function incorrectly. This is a rework of a previously landed fix [fix] which was reverted due to a crash bug [crash] when OTR profiles already existed before settings were opened. [fix] https://codereview.chromium.org/585953003 [crash] https://code.google.com/p/chromium/issues/detail?id=417597 BUG=425079, 418931 Committed: https://crrev.com/c9ba380c606442a025a38eb67f4d35c65b1a293c Cr-Commit-Position: refs/heads/master@{#301273} Committed: https://crrev.com/cc12a6ab824a40524b5d046b8cd80253d19ff50f Cr-Commit-Position: refs/heads/master@{#301461}

Patch Set 1 : patch from issue 585953003, which was landed then reverted. #

Patch Set 2 : Improved patch to fix crash from previous patch. #

Total comments: 4

Patch Set 3 : Protect against other OTR profile destruction. #

Patch Set 4 : Patch set 3 landed as https://crrev.com/c9ba380c606442a025a38eb67f4d35c65b1a293c, was reverted. #

Patch Set 5 : Fix GuestModeOptionsBrowserTest.LoadOptionsByURL by checking duplicate observer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4 lines) Patch
M base/scoped_observer.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
scheib
6 years, 1 month ago (2014-10-24 19:30:15 UTC) #3
Lei Zhang
https://codereview.chromium.org/676083003/diff/40001/base/scoped_observer.h File base/scoped_observer.h (right): https://codereview.chromium.org/676083003/diff/40001/base/scoped_observer.h#newcode35 base/scoped_observer.h:35: DCHECK(it != sources_.end()); Looking at base/observer_list_unittest.cc, it should be ...
6 years, 1 month ago (2014-10-24 19:57:29 UTC) #4
scheib
https://codereview.chromium.org/676083003/diff/40001/base/scoped_observer.h File base/scoped_observer.h (right): https://codereview.chromium.org/676083003/diff/40001/base/scoped_observer.h#newcode35 base/scoped_observer.h:35: DCHECK(it != sources_.end()); On 2014/10/24 19:57:29, Lei Zhang wrote: ...
6 years, 1 month ago (2014-10-24 21:46:19 UTC) #5
Lei Zhang
lgtm
6 years, 1 month ago (2014-10-24 23:27:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/676083003/60001
6 years, 1 month ago (2014-10-25 02:01:59 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:60001)
6 years, 1 month ago (2014-10-25 03:03:48 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/c9ba380c606442a025a38eb67f4d35c65b1a293c Cr-Commit-Position: refs/heads/master@{#301273}
6 years, 1 month ago (2014-10-25 03:04:31 UTC) #10
Avi (use Gerrit)
A revert of this CL (patchset #3 id:60001) has been created in https://codereview.chromium.org/652183006/ by avi@chromium.org. ...
6 years, 1 month ago (2014-10-25 19:15:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/676083003/100001
6 years, 1 month ago (2014-10-27 20:50:18 UTC) #13
Lei Zhang
Fix in patch set 5 lgtm
6 years, 1 month ago (2014-10-27 21:11:38 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:100001)
6 years, 1 month ago (2014-10-27 22:17:43 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 22:18:22 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cc12a6ab824a40524b5d046b8cd80253d19ff50f
Cr-Commit-Position: refs/heads/master@{#301461}

Powered by Google App Engine
This is Rietveld 408576698