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

Side by Side Diff: chrome/browser/ssl/ssl_blocking_page.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_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/histogram.h" 9 #include "base/histogram.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.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" 14 #include "chrome/browser/browser.h"
15 #include "chrome/browser/cert_store.h" 15 #include "chrome/browser/cert_store.h"
16 #include "chrome/browser/dom_operation_notification_details.h" 16 #include "chrome/browser/dom_operation_notification_details.h"
17 #include "chrome/browser/pref_service.h" 17 #include "chrome/browser/prefs/pref_service.h"
18 #include "chrome/browser/renderer_host/render_process_host.h" 18 #include "chrome/browser/renderer_host/render_process_host.h"
19 #include "chrome/browser/renderer_host/render_view_host.h" 19 #include "chrome/browser/renderer_host/render_view_host.h"
20 #include "chrome/browser/ssl/ssl_cert_error_handler.h" 20 #include "chrome/browser/ssl/ssl_cert_error_handler.h"
21 #include "chrome/browser/ssl/ssl_error_info.h" 21 #include "chrome/browser/ssl/ssl_error_info.h"
22 #include "chrome/browser/tab_contents/navigation_controller.h" 22 #include "chrome/browser/tab_contents/navigation_controller.h"
23 #include "chrome/browser/tab_contents/navigation_entry.h" 23 #include "chrome/browser/tab_contents/navigation_entry.h"
24 #include "chrome/browser/tab_contents/tab_contents.h" 24 #include "chrome/browser/tab_contents/tab_contents.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"
(...skipping 136 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

Powered by Google App Engine
This is Rietveld 408576698