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 24 matching lines...) Expand all Loading... |
35 #include "chrome/browser/ui/chrome_pages.h" | 35 #include "chrome/browser/ui/chrome_pages.h" |
36 #include "chrome/common/channel_info.h" | 36 #include "chrome/common/channel_info.h" |
37 #include "chrome/common/chrome_content_client.h" | 37 #include "chrome/common/chrome_content_client.h" |
38 #include "chrome/common/pref_names.h" | 38 #include "chrome/common/pref_names.h" |
39 #include "chrome/common/url_constants.h" | 39 #include "chrome/common/url_constants.h" |
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/policy/policy_constants.h" | 44 #include "components/policy/policy_constants.h" |
| 45 #include "components/strings/grit/components_chromium_strings.h" |
| 46 #include "components/strings/grit/components_strings.h" |
45 #include "components/version_info/version_info.h" | 47 #include "components/version_info/version_info.h" |
46 #include "content/public/browser/browser_thread.h" | 48 #include "content/public/browser/browser_thread.h" |
47 #include "content/public/browser/notification_service.h" | 49 #include "content/public/browser/notification_service.h" |
48 #include "content/public/browser/web_contents.h" | 50 #include "content/public/browser/web_contents.h" |
49 #include "content/public/browser/web_ui.h" | 51 #include "content/public/browser/web_ui.h" |
50 #include "grit/components_chromium_strings.h" | |
51 #include "grit/components_strings.h" | |
52 #include "grit/generated_resources.h" | |
53 #include "ui/base/l10n/l10n_util.h" | 52 #include "ui/base/l10n/l10n_util.h" |
54 #include "v8/include/v8.h" | 53 #include "v8/include/v8.h" |
55 | 54 |
56 #if defined(OS_CHROMEOS) | 55 #if defined(OS_CHROMEOS) |
57 #include "base/files/file_util_proxy.h" | 56 #include "base/files/file_util_proxy.h" |
58 #include "base/i18n/time_formatting.h" | 57 #include "base/i18n/time_formatting.h" |
59 #include "base/sys_info.h" | 58 #include "base/sys_info.h" |
60 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" | 59 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
61 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" | 60 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact
ory.h" |
62 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 61 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 base::StringValue("")); | 770 base::StringValue("")); |
772 } else { | 771 } else { |
773 base::string16 message = GetEolMessage(status); | 772 base::string16 message = GetEolMessage(status); |
774 web_ui()->CallJavascriptFunctionUnsafe( | 773 web_ui()->CallJavascriptFunctionUnsafe( |
775 "help.HelpPage.updateEolMessage", base::StringValue("device_endoflife"), | 774 "help.HelpPage.updateEolMessage", base::StringValue("device_endoflife"), |
776 base::StringValue(message)); | 775 base::StringValue(message)); |
777 } | 776 } |
778 } | 777 } |
779 | 778 |
780 #endif // defined(OS_CHROMEOS) | 779 #endif // defined(OS_CHROMEOS) |
OLD | NEW |