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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/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
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"
9 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
10 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
11 #include "base/string_piece.h" 10 #include "base/string_piece.h"
12 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
13 #include "base/values.h" 12 #include "base/values.h"
14 #include "chrome/browser/cert_store.h" 13 #include "chrome/browser/cert_store.h"
15 #include "chrome/browser/dom_operation_notification_details.h" 14 #include "chrome/browser/dom_operation_notification_details.h"
16 #include "chrome/browser/renderer_host/render_process_host.h" 15 #include "chrome/browser/renderer_host/render_process_host.h"
17 #include "chrome/browser/renderer_host/render_view_host.h" 16 #include "chrome/browser/renderer_host/render_view_host.h"
18 #include "chrome/browser/ssl/ssl_cert_error_handler.h" 17 #include "chrome/browser/ssl/ssl_cert_error_handler.h"
19 #include "chrome/browser/ssl/ssl_error_info.h" 18 #include "chrome/browser/ssl/ssl_error_info.h"
20 #include "chrome/browser/tab_contents/navigation_controller.h" 19 #include "chrome/browser/tab_contents/navigation_controller.h"
21 #include "chrome/browser/tab_contents/navigation_entry.h" 20 #include "chrome/browser/tab_contents/navigation_entry.h"
22 #include "chrome/browser/tab_contents/tab_contents.h" 21 #include "chrome/browser/tab_contents/tab_contents.h"
23 #include "chrome/common/jstemplate_builder.h" 22 #include "chrome/common/jstemplate_builder.h"
24 #include "chrome/common/notification_service.h" 23 #include "chrome/common/notification_service.h"
25 #include "grit/browser_resources.h" 24 #include "grit/browser_resources.h"
26 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
26 #include "ui/base/resource/resource_bundle.h"
27 27
28 namespace { 28 namespace {
29 29
30 enum SSLBlockingPageEvent { 30 enum SSLBlockingPageEvent {
31 SHOW, 31 SHOW,
32 PROCEED, 32 PROCEED,
33 DONT_PROCEED, 33 DONT_PROCEED,
34 UNUSED_ENUM, 34 UNUSED_ENUM,
35 }; 35 };
36 36
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "moreInfo1", "moreInfo2", "moreInfo3", "moreInfo4", "moreInfo5" 161 "moreInfo1", "moreInfo2", "moreInfo3", "moreInfo4", "moreInfo5"
162 }; 162 };
163 int i; 163 int i;
164 for (i = 0; i < static_cast<int>(extra_info.size()); i++) { 164 for (i = 0; i < static_cast<int>(extra_info.size()); i++) {
165 strings->SetString(keys[i], extra_info[i]); 165 strings->SetString(keys[i], extra_info[i]);
166 } 166 }
167 for (; i < 5; i++) { 167 for (; i < 5; i++) {
168 strings->SetString(keys[i], ""); 168 strings->SetString(keys[i], "");
169 } 169 }
170 } 170 }
OLDNEW
« no previous file with comments | « chrome/browser/speech/speech_input_bubble_views.cc ('k') | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698