OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/common/localized_error.h" | 5 #include "chrome/common/localized_error.h" |
6 | 6 |
7 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" | |
15 #include "chrome/common/net/net_error_info.h" | 14 #include "chrome/common/net/net_error_info.h" |
16 #include "extensions/common/constants.h" | 15 #include "extensions/common/constants.h" |
17 #include "extensions/common/extension_icon_set.h" | 16 #include "extensions/common/extension_icon_set.h" |
| 17 #include "extensions/common/manifest_handlers/icons_handler.h" |
18 #include "grit/chromium_strings.h" | 18 #include "grit/chromium_strings.h" |
19 #include "grit/generated_resources.h" | 19 #include "grit/generated_resources.h" |
20 #include "net/base/escape.h" | 20 #include "net/base/escape.h" |
21 #include "net/base/net_errors.h" | 21 #include "net/base/net_errors.h" |
22 #include "net/base/net_util.h" | 22 #include "net/base/net_util.h" |
23 #include "third_party/WebKit/public/platform/WebURLError.h" | 23 #include "third_party/WebKit/public/platform/WebURLError.h" |
24 #include "ui/base/l10n/l10n_util.h" | 24 #include "ui/base/l10n/l10n_util.h" |
25 #include "ui/base/webui/web_ui_util.h" | 25 #include "ui/base/webui/web_ui_util.h" |
26 | 26 |
27 #if defined(OS_WIN) | 27 #if defined(OS_WIN) |
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 #if defined(OS_CHROMEOS) | 855 #if defined(OS_CHROMEOS) |
856 GURL learn_more_url(kAppWarningLearnMoreUrl); | 856 GURL learn_more_url(kAppWarningLearnMoreUrl); |
857 base::DictionaryValue* suggest_learn_more = new base::DictionaryValue(); | 857 base::DictionaryValue* suggest_learn_more = new base::DictionaryValue(); |
858 suggest_learn_more->SetString("msg", | 858 suggest_learn_more->SetString("msg", |
859 l10n_util::GetStringUTF16( | 859 l10n_util::GetStringUTF16( |
860 IDS_ERRORPAGES_SUGGESTION_LEARNMORE_BODY)); | 860 IDS_ERRORPAGES_SUGGESTION_LEARNMORE_BODY)); |
861 suggest_learn_more->SetString("learnMoreUrl", learn_more_url.spec()); | 861 suggest_learn_more->SetString("learnMoreUrl", learn_more_url.spec()); |
862 error_strings->Set("suggestionsLearnMore", suggest_learn_more); | 862 error_strings->Set("suggestionsLearnMore", suggest_learn_more); |
863 #endif // defined(OS_CHROMEOS) | 863 #endif // defined(OS_CHROMEOS) |
864 } | 864 } |
OLD | NEW |