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/version_updater_chromeos.h" | 5 #include "chrome/browser/ui/webui/help/version_updater_chromeos.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
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 "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/chromeos/login/startup_utils.h" | 12 #include "chrome/browser/chromeos/login/startup_utils.h" |
13 #include "chrome/browser/chromeos/login/user_manager.h" | 13 #include "chrome/browser/chromeos/login/users/user_manager.h" |
14 #include "chrome/browser/chromeos/login/wizard_controller.h" | 14 #include "chrome/browser/chromeos/login/wizard_controller.h" |
15 #include "chrome/browser/chromeos/settings/cros_settings.h" | 15 #include "chrome/browser/chromeos/settings/cros_settings.h" |
16 #include "chrome/browser/ui/webui/help/help_utils_chromeos.h" | 16 #include "chrome/browser/ui/webui/help/help_utils_chromeos.h" |
17 #include "chromeos/dbus/dbus_thread_manager.h" | 17 #include "chromeos/dbus/dbus_thread_manager.h" |
18 #include "chromeos/dbus/power_manager_client.h" | 18 #include "chromeos/dbus/power_manager_client.h" |
19 #include "chromeos/network/network_handler.h" | 19 #include "chromeos/network/network_handler.h" |
20 #include "chromeos/network/network_state.h" | 20 #include "chromeos/network/network_state.h" |
21 #include "chromeos/network/network_state_handler.h" | 21 #include "chromeos/network/network_state_handler.h" |
22 #include "chromeos/settings/cros_settings_names.h" | 22 #include "chromeos/settings/cros_settings_names.h" |
23 #include "grit/chromium_strings.h" | 23 #include "grit/chromium_strings.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 last_operation_ = status.status; | 207 last_operation_ = status.status; |
208 } | 208 } |
209 | 209 |
210 void VersionUpdaterCros::OnUpdateCheck( | 210 void VersionUpdaterCros::OnUpdateCheck( |
211 UpdateEngineClient::UpdateCheckResult result) { | 211 UpdateEngineClient::UpdateCheckResult result) { |
212 // If version updating is not implemented, this binary is the most up-to-date | 212 // If version updating is not implemented, this binary is the most up-to-date |
213 // possible with respect to automatic updating. | 213 // possible with respect to automatic updating. |
214 if (result == UpdateEngineClient::UPDATE_RESULT_NOTIMPLEMENTED) | 214 if (result == UpdateEngineClient::UPDATE_RESULT_NOTIMPLEMENTED) |
215 callback_.Run(UPDATED, 0, base::string16()); | 215 callback_.Run(UPDATED, 0, base::string16()); |
216 } | 216 } |
OLD | NEW |