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/chromeos/login/version_info_updater.h" | 5 #include "chrome/browser/chromeos/login/version_info_updater.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 16 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
17 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 17 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
18 #include "chrome/browser/chromeos/settings/cros_settings.h" | 18 #include "chrome/browser/chromeos/settings/cros_settings.h" |
19 #include "chrome/common/chrome_version_info.h" | 19 #include "chrome/common/chrome_version_info.h" |
| 20 #include "chrome/grit/chromium_strings.h" |
| 21 #include "chrome/grit/generated_resources.h" |
| 22 #include "chrome/grit/theme_resources.h" |
20 #include "chromeos/settings/cros_settings_names.h" | 23 #include "chromeos/settings/cros_settings_names.h" |
21 #include "grit/chromium_strings.h" | |
22 #include "grit/generated_resources.h" | |
23 #include "grit/theme_resources.h" | |
24 #include "ui/base/l10n/l10n_util.h" | 24 #include "ui/base/l10n/l10n_util.h" |
25 | 25 |
26 namespace chromeos { | 26 namespace chromeos { |
27 | 27 |
28 namespace { | 28 namespace { |
29 | 29 |
30 const char* kReportingFlags[] = { | 30 const char* kReportingFlags[] = { |
31 chromeos::kReportDeviceVersionInfo, | 31 chromeos::kReportDeviceVersionInfo, |
32 chromeos::kReportDeviceActivityTimes, | 32 chromeos::kReportDeviceActivityTimes, |
33 chromeos::kReportDeviceBootMode, | 33 chromeos::kReportDeviceBootMode, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 void VersionInfoUpdater::OnStoreLoaded(policy::CloudPolicyStore* store) { | 133 void VersionInfoUpdater::OnStoreLoaded(policy::CloudPolicyStore* store) { |
134 UpdateEnterpriseInfo(); | 134 UpdateEnterpriseInfo(); |
135 } | 135 } |
136 | 136 |
137 void VersionInfoUpdater::OnStoreError(policy::CloudPolicyStore* store) { | 137 void VersionInfoUpdater::OnStoreError(policy::CloudPolicyStore* store) { |
138 UpdateEnterpriseInfo(); | 138 UpdateEnterpriseInfo(); |
139 } | 139 } |
140 | 140 |
141 } // namespace chromeos | 141 } // namespace chromeos |
OLD | NEW |