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

Issue 1473523002: Switch SecurityStateModel ownership to ChromeSecurityStateModelClient (Closed)

Created:
5 years, 1 month ago by estark
Modified:
5 years ago
Reviewers:
felt, sky, blundell
CC:
chromium-reviews, extensions-reviews_chromium.org, tfarina, dzhioev+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch SecurityStateModel ownership to ChromeSecurityStateModelClient ChromeSecurityStateModelClient is now the class that is attached to a WebContents, instead of a SecurityStateModel. This is so that SecurityStateModel can be componentized in a follow-up CL. BUG=515071 TBR=sky@chromium.org Committed: https://crrev.com/880a5a4e4ce4df061e36e7905f6c3f1a26ec5acb Cr-Commit-Position: refs/heads/master@{#362162}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : delegate -> client #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -90 lines) Patch
M chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.h View 1 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 1 chunk +11 lines, -1 line 0 comments Download
M chrome/browser/ssl/security_state_model.h View 1 4 chunks +11 lines, -12 lines 0 comments Download
M chrome/browser/ssl/security_state_model.cc View 1 4 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ssl/security_state_model_android.cc View 1 2 4 chunks +17 lines, -14 lines 0 comments Download
M chrome/browser/ssl/security_state_model_browser_tests.cc View 1 2 5 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 2 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/ui/android/bluetooth_chooser_android.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/android/connection_info_popup_android.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/android/website_settings_popup_android.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/hosted_app_browser_controller.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_impl.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_info_helper.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
estark
felt, blundell, PTAL? As the next step of componentizing SecurityStateModel, this CL switches things around ...
5 years ago (2015-11-24 18:21:47 UTC) #2
blundell
LGTM https://codereview.chromium.org/1473523002/diff/20001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1473523002/diff/20001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1951 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1951: ChromeSecurityStateModelClient* security_model_delegate = client :) https://codereview.chromium.org/1473523002/diff/20001/chrome/browser/ssl/security_state_model_android.cc File chrome/browser/ssl/security_state_model_android.cc ...
5 years ago (2015-11-24 19:31:23 UTC) #4
estark
https://codereview.chromium.org/1473523002/diff/20001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/1473523002/diff/20001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1951 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1951: ChromeSecurityStateModelClient* security_model_delegate = On 2015/11/24 19:31:23, blundell wrote: > ...
5 years ago (2015-11-24 19:50:29 UTC) #5
felt
lgtm, looks like a pretty straightforward refactor
5 years ago (2015-11-25 23:52:13 UTC) #6
estark
Thanks felt. sky: could you please review (mostly mechanical) changes to c/b/ui, c/b/chromeos, c/b/renderer_context_menu?
5 years ago (2015-11-25 23:54:52 UTC) #8
blundell
On 2015/11/25 23:54:52, estark wrote: > Thanks felt. > > sky: could you please review ...
5 years ago (2015-11-30 09:29:13 UTC) #9
estark
On 2015/11/30 09:29:13, blundell wrote: > On 2015/11/25 23:54:52, estark wrote: > > Thanks felt. ...
5 years ago (2015-11-30 17:40:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473523002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473523002/40001
5 years ago (2015-11-30 17:41:55 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-30 18:21:29 UTC) #15
commit-bot: I haz the power
5 years ago (2015-11-30 18:22:14 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/880a5a4e4ce4df061e36e7905f6c3f1a26ec5acb
Cr-Commit-Position: refs/heads/master@{#362162}

Powered by Google App Engine
This is Rietveld 408576698