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

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

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | chrome/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_error_info.h" 5 #include "chrome/browser/ssl/ssl_error_info.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/string_util.h" 8 #include "base/string_util.h"
8 #include "chrome/browser/cert_store.h" 9 #include "chrome/browser/cert_store.h"
9 #include "chrome/common/l10n_util.h"
10 #include "chrome/common/time_format.h" 10 #include "chrome/common/time_format.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "grit/chromium_strings.h" 12 #include "grit/chromium_strings.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "net/base/cert_status_flags.h" 14 #include "net/base/cert_status_flags.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/base/ssl_info.h" 16 #include "net/base/ssl_info.h"
17 17
18 SSLErrorInfo::SSLErrorInfo(const std::wstring& title, 18 SSLErrorInfo::SSLErrorInfo(const std::wstring& title,
19 const std::wstring& details, 19 const std::wstring& details,
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 if (!cert.get()) { 239 if (!cert.get()) {
240 bool r = CertStore::GetSharedInstance()->RetrieveCert(cert_id, &cert); 240 bool r = CertStore::GetSharedInstance()->RetrieveCert(cert_id, &cert);
241 DCHECK(r); 241 DCHECK(r);
242 } 242 }
243 if (errors) 243 if (errors)
244 errors->push_back(SSLErrorInfo::CreateError(kErrorTypes[i], cert, url)); 244 errors->push_back(SSLErrorInfo::CreateError(kErrorTypes[i], cert, url));
245 } 245 }
246 } 246 }
247 return count; 247 return count;
248 } 248 }
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | chrome/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698