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

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

Issue 6335001: Cleanup: Remove unneeded chrome/browser/prefs/pref_service.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/ssl/ssl_manager.h" 5 #include "chrome/browser/ssl/ssl_manager.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/browser_thread.h" 9 #include "chrome/browser/browser_thread.h"
10 #include "chrome/browser/load_from_memory_cache_details.h" 10 #include "chrome/browser/load_from_memory_cache_details.h"
11 #include "chrome/browser/net/url_request_tracking.h" 11 #include "chrome/browser/net/url_request_tracking.h"
12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/renderer_host/resource_request_details.h" 12 #include "chrome/browser/renderer_host/resource_request_details.h"
14 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 13 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
15 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" 14 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h"
16 #include "chrome/browser/ssl/ssl_cert_error_handler.h" 15 #include "chrome/browser/ssl/ssl_cert_error_handler.h"
17 #include "chrome/browser/ssl/ssl_policy.h" 16 #include "chrome/browser/ssl/ssl_policy.h"
18 #include "chrome/browser/ssl/ssl_request_info.h" 17 #include "chrome/browser/ssl/ssl_request_info.h"
19 #include "chrome/browser/tab_contents/navigation_controller.h" 18 #include "chrome/browser/tab_contents/navigation_controller.h"
20 #include "chrome/browser/tab_contents/navigation_entry.h" 19 #include "chrome/browser/tab_contents/navigation_entry.h"
21 #include "chrome/browser/tab_contents/provisional_load_details.h" 20 #include "chrome/browser/tab_contents/provisional_load_details.h"
22 #include "chrome/browser/tab_contents/tab_contents.h" 21 #include "chrome/browser/tab_contents/tab_contents.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 262
264 policy()->UpdateEntry(entry, controller_->tab_contents()); 263 policy()->UpdateEntry(entry, controller_->tab_contents());
265 264
266 if (!entry->ssl().Equals(original_ssl_status)) { 265 if (!entry->ssl().Equals(original_ssl_status)) {
267 NotificationService::current()->Notify( 266 NotificationService::current()->Notify(
268 NotificationType::SSL_VISIBLE_STATE_CHANGED, 267 NotificationType::SSL_VISIBLE_STATE_CHANGED,
269 Source<NavigationController>(controller_), 268 Source<NavigationController>(controller_),
270 NotificationService::NoDetails()); 269 NotificationService::NoDetails());
271 } 270 }
272 } 271 }
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_browser_tests.cc ('k') | chrome/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698