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 |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "chrome/grit/chromium_strings.h" | 40 #include "chrome/grit/chromium_strings.h" |
41 #include "chrome/grit/generated_resources.h" | 41 #include "chrome/grit/generated_resources.h" |
42 #include "components/google/core/browser/google_util.h" | 42 #include "components/google/core/browser/google_util.h" |
43 #include "components/policy/core/common/policy_namespace.h" | 43 #include "components/policy/core/common/policy_namespace.h" |
44 #include "components/version_info/version_info.h" | 44 #include "components/version_info/version_info.h" |
45 #include "content/public/browser/browser_thread.h" | 45 #include "content/public/browser/browser_thread.h" |
46 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
47 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
48 #include "content/public/browser/web_ui.h" | 48 #include "content/public/browser/web_ui.h" |
49 #include "grit/components_chromium_strings.h" | 49 #include "grit/components_chromium_strings.h" |
50 #include "grit/components_google_chrome_strings.h" | |
51 #include "grit/components_strings.h" | 50 #include "grit/components_strings.h" |
52 #include "grit/generated_resources.h" | 51 #include "grit/generated_resources.h" |
53 #include "policy/policy_constants.h" | 52 #include "policy/policy_constants.h" |
54 #include "ui/base/l10n/l10n_util.h" | 53 #include "ui/base/l10n/l10n_util.h" |
55 #include "v8/include/v8.h" | 54 #include "v8/include/v8.h" |
56 | 55 |
57 #if defined(OS_CHROMEOS) | 56 #if defined(OS_CHROMEOS) |
58 #include "base/files/file_util_proxy.h" | 57 #include "base/files/file_util_proxy.h" |
59 #include "base/i18n/time_formatting.h" | 58 #include "base/i18n/time_formatting.h" |
60 #include "base/sys_info.h" | 59 #include "base/sys_info.h" |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 base::StringValue("")); | 771 base::StringValue("")); |
773 } else { | 772 } else { |
774 base::string16 message = GetEolMessage(status); | 773 base::string16 message = GetEolMessage(status); |
775 web_ui()->CallJavascriptFunctionUnsafe( | 774 web_ui()->CallJavascriptFunctionUnsafe( |
776 "help.HelpPage.updateEolMessage", base::StringValue("device_endoflife"), | 775 "help.HelpPage.updateEolMessage", base::StringValue("device_endoflife"), |
777 base::StringValue(message)); | 776 base::StringValue(message)); |
778 } | 777 } |
779 } | 778 } |
780 | 779 |
781 #endif // defined(OS_CHROMEOS) | 780 #endif // defined(OS_CHROMEOS) |
OLD | NEW |