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

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

Issue 5089001: Cleanup: Include browser.h -> ui/browser.h [Part 3]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. Created 10 years, 1 month 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
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_blocking_page.h" 5 #include "chrome/browser/ssl/ssl_blocking_page.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/string_piece.h" 11 #include "base/string_piece.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/browser.h"
15 #include "chrome/browser/cert_store.h" 14 #include "chrome/browser/cert_store.h"
16 #include "chrome/browser/dom_operation_notification_details.h" 15 #include "chrome/browser/dom_operation_notification_details.h"
17 #include "chrome/browser/prefs/pref_service.h" 16 #include "chrome/browser/prefs/pref_service.h"
18 #include "chrome/browser/renderer_host/render_process_host.h" 17 #include "chrome/browser/renderer_host/render_process_host.h"
19 #include "chrome/browser/renderer_host/render_view_host.h" 18 #include "chrome/browser/renderer_host/render_view_host.h"
20 #include "chrome/browser/ssl/ssl_cert_error_handler.h" 19 #include "chrome/browser/ssl/ssl_cert_error_handler.h"
21 #include "chrome/browser/ssl/ssl_error_info.h" 20 #include "chrome/browser/ssl/ssl_error_info.h"
22 #include "chrome/browser/tab_contents/navigation_controller.h" 21 #include "chrome/browser/tab_contents/navigation_controller.h"
23 #include "chrome/browser/tab_contents/navigation_entry.h" 22 #include "chrome/browser/tab_contents/navigation_entry.h"
24 #include "chrome/browser/tab_contents/tab_contents.h" 23 #include "chrome/browser/tab_contents/tab_contents.h"
24 #include "chrome/browser/ui/browser.h"
25 #include "chrome/common/jstemplate_builder.h" 25 #include "chrome/common/jstemplate_builder.h"
26 #include "chrome/common/notification_service.h" 26 #include "chrome/common/notification_service.h"
27 #include "chrome/common/pref_names.h" 27 #include "chrome/common/pref_names.h"
28 #include "grit/browser_resources.h" 28 #include "grit/browser_resources.h"
29 #include "grit/generated_resources.h" 29 #include "grit/generated_resources.h"
30 30
31 namespace { 31 namespace {
32 32
33 enum SSLBlockingPageEvent { 33 enum SSLBlockingPageEvent {
34 SHOW, 34 SHOW,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 "moreInfo1", "moreInfo2", "moreInfo3", "moreInfo4", "moreInfo5" 164 "moreInfo1", "moreInfo2", "moreInfo3", "moreInfo4", "moreInfo5"
165 }; 165 };
166 int i; 166 int i;
167 for (i = 0; i < static_cast<int>(extra_info.size()); i++) { 167 for (i = 0; i < static_cast<int>(extra_info.size()); i++) {
168 strings->SetString(keys[i], WideToUTF16Hack(extra_info[i])); 168 strings->SetString(keys[i], WideToUTF16Hack(extra_info[i]));
169 } 169 }
170 for (; i < 5; i++) { 170 for (; i < 5; i++) {
171 strings->SetString(keys[i], ""); 171 strings->SetString(keys[i], "");
172 } 172 }
173 } 173 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc ('k') | chrome/browser/ssl/ssl_browser_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698