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

Side by Side Diff: chrome/common/localized_error.cc

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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
OLDNEW
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/extension_constants.h" 14 #include "chrome/common/extensions/extension_constants.h"
15 #include "chrome/common/extensions/extension_icon_set.h" 15 #include "chrome/common/extensions/extension_icon_set.h"
16 #include "chrome/common/extensions/extension_set.h"
17 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" 16 #include "chrome/common/extensions/manifest_handlers/icons_handler.h"
18 #include "chrome/common/net/net_error_info.h" 17 #include "chrome/common/net/net_error_info.h"
19 #include "grit/chromium_strings.h" 18 #include "grit/chromium_strings.h"
20 #include "grit/generated_resources.h" 19 #include "grit/generated_resources.h"
21 #include "net/base/escape.h" 20 #include "net/base/escape.h"
22 #include "net/base/net_errors.h" 21 #include "net/base/net_errors.h"
23 #include "net/base/net_util.h" 22 #include "net/base/net_util.h"
24 #include "third_party/WebKit/public/platform/WebURLError.h" 23 #include "third_party/WebKit/public/platform/WebURLError.h"
25 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
26 #include "ui/base/webui/web_ui_util.h" 25 #include "ui/base/webui/web_ui_util.h"
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 #if defined(OS_CHROMEOS) 818 #if defined(OS_CHROMEOS)
820 GURL learn_more_url(kAppWarningLearnMoreUrl); 819 GURL learn_more_url(kAppWarningLearnMoreUrl);
821 base::DictionaryValue* suggest_learn_more = new base::DictionaryValue(); 820 base::DictionaryValue* suggest_learn_more = new base::DictionaryValue();
822 suggest_learn_more->SetString("msg", 821 suggest_learn_more->SetString("msg",
823 l10n_util::GetStringUTF16( 822 l10n_util::GetStringUTF16(
824 IDS_ERRORPAGES_SUGGESTION_LEARNMORE_BODY)); 823 IDS_ERRORPAGES_SUGGESTION_LEARNMORE_BODY));
825 suggest_learn_more->SetString("learnMoreUrl", learn_more_url.spec()); 824 suggest_learn_more->SetString("learnMoreUrl", learn_more_url.spec());
826 error_strings->Set("suggestionsLearnMore", suggest_learn_more); 825 error_strings->Set("suggestionsLearnMore", suggest_learn_more);
827 #endif // defined(OS_CHROMEOS) 826 #endif // defined(OS_CHROMEOS)
828 } 827 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_set_unittest.cc ('k') | chrome/common/pepper_permission_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698