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

Issue 12041059: content: convert SSL notifications to observer usage (Closed)

Created:
7 years, 11 months ago by Paweł Hajdan Jr.
Modified:
7 years, 10 months ago
Reviewers:
jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

content: convert SSL notifications to observer usage BUG=170921 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181488

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix #

Total comments: 2

Patch Set 3 : fixes #

Patch Set 4 : fix android build #

Total comments: 6

Patch Set 5 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -90 lines) Patch
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_tab_helper.h View 1 2 3 4 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_tab_helper.cc View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 3 chunks +8 lines, -15 lines 0 comments Download
M content/browser/ssl/ssl_manager.h View 1 2 4 chunks +4 lines, -5 lines 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 2 3 4 9 chunks +54 lines, -27 lines 0 comments Download
M content/browser/ssl/ssl_policy_backend.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M content/public/browser/notification_types.h View 1 2 3 4 1 chunk +0 lines, -34 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Paweł Hajdan Jr.
7 years, 11 months ago (2013-01-23 22:52:28 UTC) #1
jam
https://codereview.chromium.org/12041059/diff/1/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): https://codereview.chromium.org/12041059/diff/1/content/public/browser/web_contents.h#newcode242 content/public/browser/web_contents.h:242: virtual void NotifyVisibleSSLStateChanged() = 0; chrome shouldn't have to ...
7 years, 11 months ago (2013-01-24 02:02:19 UTC) #2
Paweł Hajdan Jr.
https://codereview.chromium.org/12041059/diff/1/content/public/browser/web_contents.h File content/public/browser/web_contents.h (right): https://codereview.chromium.org/12041059/diff/1/content/public/browser/web_contents.h#newcode242 content/public/browser/web_contents.h:242: virtual void NotifyVisibleSSLStateChanged() = 0; On 2013/01/24 02:02:19, John ...
7 years, 11 months ago (2013-01-24 18:53:43 UTC) #3
jam
https://codereview.chromium.org/12041059/diff/5001/content/browser/ssl/ssl_manager.cc File content/browser/ssl/ssl_manager.cc (right): https://codereview.chromium.org/12041059/diff/5001/content/browser/ssl/ssl_manager.cc#newcode131 content/browser/ssl/ssl_manager.cc:131: UpdateEntry( On 2013/01/24 18:53:43, Paweł Hajdan Jr. wrote: > ...
7 years, 10 months ago (2013-01-30 01:17:51 UTC) #4
Paweł Hajdan Jr.
PTAL - this should be ready for review now. If more people should look at ...
7 years, 10 months ago (2013-02-05 12:49:29 UTC) #5
jam
lgtm, sorry for the delay I just saw this. in the future feel free to ...
7 years, 10 months ago (2013-02-07 17:56:23 UTC) #6
Paweł Hajdan Jr.
https://codereview.chromium.org/12041059/diff/13001/chrome/browser/ssl/ssl_tab_helper.h File chrome/browser/ssl/ssl_tab_helper.h (right): https://codereview.chromium.org/12041059/diff/13001/chrome/browser/ssl/ssl_tab_helper.h#newcode25 chrome/browser/ssl/ssl_tab_helper.h:25: public content::WebContentsUserData<SSLTabHelper> { On 2013/02/07 17:56:24, jam wrote: > ...
7 years, 10 months ago (2013-02-08 09:12:22 UTC) #7
ppi
Hi, Could you guys give me a hint on why do you store the list ...
7 years, 10 months ago (2013-02-12 11:17:16 UTC) #8
Paweł Hajdan Jr.
7 years, 10 months ago (2013-02-13 13:09:29 UTC) #9
Message was sent while issue was closed.
On 2013/02/12 11:17:16, ppi wrote:
> Hi,
> 
> Could you guys give me a hint on why do you store the list of ssl managers
using
> user data, and not just as a field in BrowserContext? Am I missing something?

I think the idea is to limit the dependencies/coupling between BrowserContext
and other parts of content.

Powered by Google App Engine
This is Rietveld 408576698