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

Side by Side Diff: content/browser/ssl/ssl_manager.cc

Issue 9960071: TabContents -> WebContentsImpl, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/ssl/ssl_error_handler.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/ssl/ssl_manager.h" 5 #include "content/browser/ssl/ssl_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "content/browser/load_from_memory_cache_details.h" 9 #include "content/browser/load_from_memory_cache_details.h"
10 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" 10 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
11 #include "content/public/browser/resource_request_details.h" 11 #include "content/public/browser/resource_request_details.h"
12 #include "content/browser/renderer_host/resource_request_info_impl.h" 12 #include "content/browser/renderer_host/resource_request_info_impl.h"
13 #include "content/browser/ssl/ssl_cert_error_handler.h" 13 #include "content/browser/ssl/ssl_cert_error_handler.h"
14 #include "content/browser/ssl/ssl_policy.h" 14 #include "content/browser/ssl/ssl_policy.h"
15 #include "content/browser/ssl/ssl_request_info.h" 15 #include "content/browser/ssl/ssl_request_info.h"
16 #include "content/browser/tab_contents/navigation_entry_impl.h"
17 #include "content/browser/tab_contents/tab_contents.h" 16 #include "content/browser/tab_contents/tab_contents.h"
17 #include "content/browser/web_contents/navigation_entry_impl.h"
18 #include "content/common/ssl_status_serialization.h" 18 #include "content/common/ssl_status_serialization.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "content/public/browser/navigation_details.h" 20 #include "content/public/browser/navigation_details.h"
21 #include "content/public/browser/notification_service.h" 21 #include "content/public/browser/notification_service.h"
22 #include "content/public/browser/notification_source.h" 22 #include "content/public/browser/notification_source.h"
23 #include "content/public/common/ssl_status.h" 23 #include "content/public/common/ssl_status.h"
24 #include "net/url_request/url_request.h" 24 #include "net/url_request/url_request.h"
25 25
26 using content::BrowserThread; 26 using content::BrowserThread;
27 using content::NavigationController; 27 using content::NavigationController;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 221
222 policy()->UpdateEntry(entry, controller_->tab_contents()); 222 policy()->UpdateEntry(entry, controller_->tab_contents());
223 223
224 if (!entry->GetSSL().Equals(original_ssl_status)) { 224 if (!entry->GetSSL().Equals(original_ssl_status)) {
225 content::NotificationService::current()->Notify( 225 content::NotificationService::current()->Notify(
226 content::NOTIFICATION_SSL_VISIBLE_STATE_CHANGED, 226 content::NOTIFICATION_SSL_VISIBLE_STATE_CHANGED,
227 content::Source<NavigationController>(controller_), 227 content::Source<NavigationController>(controller_),
228 content::NotificationService::NoDetails()); 228 content::NotificationService::NoDetails());
229 } 229 }
230 } 230 }
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_error_handler.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698