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

Side by Side Diff: chrome/renderer/localized_error.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/common/win_util.cc ('k') | chrome/renderer/render_view.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/renderer/localized_error.h" 5 #include "chrome/renderer/localized_error.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/logging.h" 8 #include "base/logging.h"
8 #include "base/string_util.h" 9 #include "base/string_util.h"
9 #include "base/values.h" 10 #include "base/values.h"
10 #include "chrome/common/l10n_util.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "net/base/escape.h" 13 #include "net/base/escape.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "webkit/glue/weberror.h" 15 #include "webkit/glue/weberror.h"
16 #include "webkit/glue/webkit_glue.h" 16 #include "webkit/glue/webkit_glue.h"
17 17
18 namespace { 18 namespace {
19 19
20 static const char* kRedirectLoopLearnMoreUrl = 20 static const char* kRedirectLoopLearnMoreUrl =
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 L"title", l10n_util::GetStringF(IDS_ERRORPAGES_TITLE_NOT_AVAILABLE, 207 L"title", l10n_util::GetStringF(IDS_ERRORPAGES_TITLE_NOT_AVAILABLE,
208 failed_url.c_str())); 208 failed_url.c_str()));
209 error_strings->SetString(L"heading", 209 error_strings->SetString(L"heading",
210 l10n_util::GetString(IDS_HTTP_POST_WARNING_TITLE)); 210 l10n_util::GetString(IDS_HTTP_POST_WARNING_TITLE));
211 error_strings->SetString(L"suggestionsHeading", L""); 211 error_strings->SetString(L"suggestionsHeading", L"");
212 DictionaryValue* summary = new DictionaryValue; 212 DictionaryValue* summary = new DictionaryValue;
213 summary->SetString(L"msg", 213 summary->SetString(L"msg",
214 l10n_util::GetString(IDS_ERRORPAGES_HTTP_POST_WARNING)); 214 l10n_util::GetString(IDS_ERRORPAGES_HTTP_POST_WARNING));
215 error_strings->Set(L"summary", summary); 215 error_strings->Set(L"summary", summary);
216 } 216 }
OLDNEW
« no previous file with comments | « chrome/common/win_util.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698