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

Issue 2298283002: Site Settings Desktop: Support adding exceptions for incognito mode. (Closed)

Created:
4 years, 3 months ago by Finnur
Modified:
4 years, 3 months ago
Reviewers:
dschuyler, stevenjb, sky
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, jlklein+watch-closure_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Site Settings Desktop: Support adding exceptions for incognito mode. BUG=635855, 635862, 614277 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/1d5f2515c355ca11dd8ca9cdd785df3f3a5b41a3 Cr-Commit-Position: refs/heads/master@{#416534}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Address feedback #

Patch Set 3 : Fix test #

Patch Set 4 : Fix test #

Total comments: 19

Patch Set 5 : Address feedback #

Total comments: 17

Patch Set 6 : Address feedback #

Patch Set 7 : Fix remaining tests #

Total comments: 7

Patch Set 8 : Address feedback, fix test #

Patch Set 9 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+458 lines, -90 lines) Patch
M chrome/app/settings_strings.grdp View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/add_site_dialog.html View 1 2 3 4 5 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/add_site_dialog.js View 1 4 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_details_permission.js View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 3 4 5 8 chunks +65 lines, -5 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_behavior.js View 1 chunk +0 lines, -31 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js View 7 chunks +23 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler.h View 1 2 3 4 5 4 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler.cc View 1 2 3 4 5 11 chunks +106 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/settings/site_settings_handler_unittest.cc View 1 2 3 4 5 6 7 5 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/site_settings_helper.cc View 13 chunks +19 lines, -10 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/test/data/webui/settings/site_list_tests.js View 1 2 3 4 5 6 7 5 chunks +110 lines, -4 lines 0 comments Download
M chrome/test/data/webui/settings/test_site_settings_prefs_browser_proxy.js View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 65 (45 generated)
Finnur
Dave, can you review? Scott, can you give OWNERS approval for the changes to the ...
4 years, 3 months ago (2016-08-31 17:17:17 UTC) #13
sky
testing_profile LGTM
4 years, 3 months ago (2016-08-31 20:21:30 UTC) #16
dschuyler
The real review item here is the one asking about notification_registrar_. (The rest are all ...
4 years, 3 months ago (2016-08-31 21:48:52 UTC) #17
Finnur
Dave: Comments addressed as per below. Steven: Can you give OWNERS approval for content_settings_handler.cc? https://codereview.chromium.org/2298283002/diff/40001/chrome/browser/resources/settings/site_settings/add_site_dialog.html ...
4 years, 3 months ago (2016-09-01 11:10:15 UTC) #21
stevenjb
I lust looked at the C++ code. https://codereview.chromium.org/2298283002/diff/100001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/2298283002/diff/100001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode951 chrome/browser/ui/webui/options/content_settings_handler.cc:951: web_ui(), false, ...
4 years, 3 months ago (2016-09-01 15:47:55 UTC) #31
Finnur
Thanks, Steven. All addressed. Scott, can you do me a favor and see if you ...
4 years, 3 months ago (2016-09-01 16:48:17 UTC) #36
stevenjb
https://codereview.chromium.org/2298283002/diff/100001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2298283002/diff/100001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode240 chrome/browser/ui/webui/settings/site_settings_handler.cc:240: if (profile != profile_ && !IsOurIncognitoProfile(profile)) On 2016/09/01 16:48:17, ...
4 years, 3 months ago (2016-09-01 17:07:54 UTC) #37
dschuyler
https://codereview.chromium.org/2298283002/diff/40001/chrome/browser/resources/settings/site_settings/site_list.js File chrome/browser/resources/settings/site_settings/site_list.js (right): https://codereview.chromium.org/2298283002/diff/40001/chrome/browser/resources/settings/site_settings/site_list.js#newcode83 chrome/browser/resources/settings/site_settings/site_list.js:83: profileHasIncognito_: { On 2016/09/01 11:10:15, Finnur wrote: > Both, ...
4 years, 3 months ago (2016-09-01 23:13:49 UTC) #40
Finnur
Scott, FYI: I've reverted my changes to TestingProfile (broke too many unrelated tests) and instead ...
4 years, 3 months ago (2016-09-02 15:44:14 UTC) #45
stevenjb
Thanks for fixing TestingProfile! LGTM https://codereview.chromium.org/2298283002/diff/160001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/2298283002/diff/160001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode951 chrome/browser/ui/webui/options/content_settings_handler.cc:951: web_ui(), /*incognito=*/ false, &exceptions); ...
4 years, 3 months ago (2016-09-02 15:54:01 UTC) #46
sky
LGTM
4 years, 3 months ago (2016-09-02 16:04:40 UTC) #47
dschuyler
LGTM https://codereview.chromium.org/2298283002/diff/160001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/2298283002/diff/160001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode951 chrome/browser/ui/webui/options/content_settings_handler.cc:951: web_ui(), /*incognito=*/ false, &exceptions); On 2016/09/02 15:54:01, stevenjb ...
4 years, 3 months ago (2016-09-02 22:49:38 UTC) #50
stevenjb
https://codereview.chromium.org/2298283002/diff/160001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/2298283002/diff/160001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode951 chrome/browser/ui/webui/options/content_settings_handler.cc:951: web_ui(), /*incognito=*/ false, &exceptions); On 2016/09/02 22:49:38, dschuyler wrote: ...
4 years, 3 months ago (2016-09-02 23:23:03 UTC) #51
stevenjb
4 years, 3 months ago (2016-09-02 23:23:07 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2298283002/180001
4 years, 3 months ago (2016-09-05 10:13:52 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/272957)
4 years, 3 months ago (2016-09-05 10:53:33 UTC) #57
Finnur
https://codereview.chromium.org/2298283002/diff/160001/chrome/test/data/webui/settings/site_list_tests.js File chrome/test/data/webui/settings/site_list_tests.js (right): https://codereview.chromium.org/2298283002/diff/160001/chrome/test/data/webui/settings/site_list_tests.js#newcode483 chrome/test/data/webui/settings/site_list_tests.js:483: settings.ContentSettingsTypes.COOKIES, contentType); On 2016/09/02 22:49:38, dschuyler wrote: > nit: ...
4 years, 3 months ago (2016-09-05 11:37:55 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2298283002/200001
4 years, 3 months ago (2016-09-05 11:38:09 UTC) #61
commit-bot: I haz the power
Committed patchset #9 (id:200001)
4 years, 3 months ago (2016-09-05 12:29:38 UTC) #63
commit-bot: I haz the power
4 years, 3 months ago (2016-09-05 12:31:18 UTC) #65
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/1d5f2515c355ca11dd8ca9cdd785df3f3a5b41a3
Cr-Commit-Position: refs/heads/master@{#416534}

Powered by Google App Engine
This is Rietveld 408576698