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

Issue 2363623002: Remove SecurityStateModel memoization (Closed)

Created:
4 years, 3 months ago by estark
Modified:
4 years, 3 months ago
Reviewers:
Ted C, Nathan Parker, felt, sky
CC:
chromium-reviews, extensions-reviews_chromium.org, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, grt+watch_chromium.org, chromium-apps-reviews_chromium.org, sdefresne+watch_chromium.org, tfarina, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SecurityStateModel memoization As discussed in the bug, it's hard to imagine that memoizing on VisibleSecurityState buys us anything other than more complicated code. BUG=642576 Committed: https://crrev.com/518660431c09f50c55c73b0bee872c2a5fc5b1ae Cr-Commit-Position: refs/heads/master@{#420444}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -118 lines) Patch
M chrome/browser/android/offline_pages/offline_page_mhtml_archiver.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 8 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/ssl/security_state_model_android.cc View 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 9 chunks +30 lines, -14 lines 0 comments Download
M chrome/browser/ui/android/bluetooth_chooser_android.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/connection_info_popup_android.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/android/usb_chooser_dialog_android.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/android/website_settings_popup_android.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_icon_decoration.mm View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/hosted_app_browser_controller.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc View 2 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/security_state/security_state_model.h View 1 chunk +2 lines, -10 lines 0 comments Download
M components/security_state/security_state_model.cc View 1 chunk +3 lines, -19 lines 0 comments Download
M components/security_state/security_state_model_unittest.cc View 12 chunks +24 lines, -24 lines 0 comments Download
M ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ssl/ios_chrome_security_state_model_client.mm View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
estark
felt, PTAL. Don't be alarmed -- most of this is completely mechanical changes, with the ...
4 years, 3 months ago (2016-09-22 15:36:12 UTC) #6
felt
On 2016/09/22 15:36:12, estark wrote: > felt, PTAL. Don't be alarmed -- most of this ...
4 years, 3 months ago (2016-09-22 16:29:47 UTC) #7
felt
Are you planning to also remove VisibleSecurityState (as described in the bug), or have you ...
4 years, 3 months ago (2016-09-22 17:19:42 UTC) #8
estark
On 2016/09/22 17:19:42, felt wrote: > Are you planning to also remove VisibleSecurityState (as described ...
4 years, 3 months ago (2016-09-22 17:31:24 UTC) #9
felt
On 2016/09/22 17:31:24, estark wrote: > On 2016/09/22 17:19:42, felt wrote: > > Are you ...
4 years, 3 months ago (2016-09-22 17:47:53 UTC) #10
estark
On 2016/09/22 17:47:53, felt wrote: > On 2016/09/22 17:31:24, estark wrote: > > On 2016/09/22 ...
4 years, 3 months ago (2016-09-22 17:49:22 UTC) #11
estark
Adding some more OWNERs for review. The changes outside components/security_state are mechanical. tedchoc: chrome/browser/android and ...
4 years, 3 months ago (2016-09-22 17:51:26 UTC) #13
Nathan Parker
LGTM for safe_browsing
4 years, 3 months ago (2016-09-22 18:09:58 UTC) #14
Ted C
On 2016/09/22 18:09:58, Nathan Parker wrote: > LGTM for safe_browsing chrome/browser/android and chrome/browser/ui/android - lgtm
4 years, 3 months ago (2016-09-22 18:14:19 UTC) #15
sky
LGTM
4 years, 3 months ago (2016-09-22 20:22:16 UTC) #16
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/2363623002/1
4 years, 3 months ago (2016-09-22 20:28:42 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-22 20:36:14 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 20:37:58 UTC) #21
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/518660431c09f50c55c73b0bee872c2a5fc5b1ae
Cr-Commit-Position: refs/heads/master@{#420444}

Powered by Google App Engine
This is Rietveld 408576698