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/browser/ui/webui/help/help_handler.h" | 5 #include "chrome/browser/ui/webui/help/help_handler.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "ash/common/system/chromeos/devicetype_utils.h" | 11 #include "ash/system/devicetype_utils.h" |
12 #include "base/base_switches.h" | 12 #include "base/base_switches.h" |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
17 #include "base/files/file_util.h" | 17 #include "base/files/file_util.h" |
18 #include "base/i18n/message_formatter.h" | 18 #include "base/i18n/message_formatter.h" |
19 #include "base/location.h" | 19 #include "base/location.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 "help.HelpPage.updateEolMessage", base::StringValue("device_supported"), | 752 "help.HelpPage.updateEolMessage", base::StringValue("device_supported"), |
753 base::StringValue("")); | 753 base::StringValue("")); |
754 } else { | 754 } else { |
755 web_ui()->CallJavascriptFunctionUnsafe( | 755 web_ui()->CallJavascriptFunctionUnsafe( |
756 "help.HelpPage.updateEolMessage", base::StringValue("device_endoflife"), | 756 "help.HelpPage.updateEolMessage", base::StringValue("device_endoflife"), |
757 base::StringValue(l10n_util::GetStringUTF16(IDS_ABOUT_PAGE_EOL_EOL))); | 757 base::StringValue(l10n_util::GetStringUTF16(IDS_ABOUT_PAGE_EOL_EOL))); |
758 } | 758 } |
759 } | 759 } |
760 | 760 |
761 #endif // defined(OS_CHROMEOS) | 761 #endif // defined(OS_CHROMEOS) |
OLD | NEW |