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

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

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 | 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_add_cert_handler.h" 5 #include "chrome/browser/ssl/ssl_add_cert_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/string_number_conversions.h" 8 #include "base/string_number_conversions.h"
9 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/browser_list.h" 10 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/browser.h" 11 #include "chrome/browser/browser.h"
11 #include "chrome/browser/browser_window.h" 12 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/chrome_thread.h" 13 #include "chrome/browser/chrome_thread.h"
13 #include "chrome/browser/platform_util.h" 14 #include "chrome/browser/platform_util.h"
14 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
15 #include "net/base/cert_database.h" 16 #include "net/base/cert_database.h"
16 #include "net/base/net_errors.h" 17 #include "net/base/net_errors.h"
17 #include "net/base/x509_certificate.h" 18 #include "net/base/x509_certificate.h"
18 #include "net/url_request/url_request.h" 19 #include "net/url_request/url_request.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 Release(); 68 Release();
68 } 69 }
69 70
70 void SSLAddCertHandler::ShowError(const string16& error) { 71 void SSLAddCertHandler::ShowError(const string16& error) {
71 Browser* browser = BrowserList::GetLastActive(); 72 Browser* browser = BrowserList::GetLastActive();
72 platform_util::SimpleErrorBox( 73 platform_util::SimpleErrorBox(
73 browser ? browser->window()->GetNativeHandle() : NULL, 74 browser ? browser->window()->GetNativeHandle() : NULL,
74 l10n_util::GetStringUTF16(IDS_ADD_CERT_FAILURE_TITLE), 75 l10n_util::GetStringUTF16(IDS_ADD_CERT_FAILURE_TITLE),
75 error); 76 error);
76 } 77 }
OLDNEW
« no previous file with comments | « chrome/browser/spellchecker_platform_engine_unittest.cc ('k') | chrome/browser/status_icons/status_tray_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698