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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
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/chrome_thread.h" 9 #include "chrome/browser/chrome_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/pref_service.h" 12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/renderer_host/resource_request_details.h" 13 #include "chrome/browser/renderer_host/resource_request_details.h"
14 #include "chrome/browser/ssl/ssl_cert_error_handler.h" 14 #include "chrome/browser/ssl/ssl_cert_error_handler.h"
15 #include "chrome/browser/ssl/ssl_policy.h" 15 #include "chrome/browser/ssl/ssl_policy.h"
16 #include "chrome/browser/ssl/ssl_request_info.h" 16 #include "chrome/browser/ssl/ssl_request_info.h"
17 #include "chrome/browser/tab_contents/navigation_controller.h" 17 #include "chrome/browser/tab_contents/navigation_controller.h"
18 #include "chrome/browser/tab_contents/navigation_entry.h" 18 #include "chrome/browser/tab_contents/navigation_entry.h"
19 #include "chrome/browser/tab_contents/provisional_load_details.h" 19 #include "chrome/browser/tab_contents/provisional_load_details.h"
20 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 policy()->UpdateEntry(entry, controller_->tab_contents()); 277 policy()->UpdateEntry(entry, controller_->tab_contents());
278 278
279 if (!entry->ssl().Equals(original_ssl_status)) { 279 if (!entry->ssl().Equals(original_ssl_status)) {
280 NotificationService::current()->Notify( 280 NotificationService::current()->Notify(
281 NotificationType::SSL_VISIBLE_STATE_CHANGED, 281 NotificationType::SSL_VISIBLE_STATE_CHANGED,
282 Source<NavigationController>(controller_), 282 Source<NavigationController>(controller_),
283 NotificationService::NoDetails()); 283 NotificationService::NoDetails());
284 } 284 }
285 } 285 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698