Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: chrome/browser/ui/webui/help/version_updater_chromeos.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/wizard_controller.h" 13 #include "chrome/browser/chromeos/login/wizard_controller.h"
14 #include "chrome/browser/chromeos/settings/cros_settings.h" 14 #include "chrome/browser/chromeos/settings/cros_settings.h"
15 #include "chrome/browser/ui/webui/help/help_utils_chromeos.h" 15 #include "chrome/browser/ui/webui/help/help_utils_chromeos.h"
16 #include "chromeos/dbus/dbus_thread_manager.h" 16 #include "chromeos/dbus/dbus_thread_manager.h"
17 #include "chromeos/dbus/power_manager_client.h" 17 #include "chromeos/dbus/power_manager_client.h"
18 #include "chromeos/network/network_handler.h" 18 #include "chromeos/network/network_handler.h"
19 #include "chromeos/network/network_state.h" 19 #include "chromeos/network/network_state.h"
20 #include "chromeos/network/network_state_handler.h" 20 #include "chromeos/network/network_state_handler.h"
21 #include "chromeos/settings/cros_settings_names.h" 21 #include "chromeos/settings/cros_settings_names.h"
22 #include "components/user_manager/user_manager.h" 22 #include "components/user_manager/user_manager.h"
23 #include "grit/chromium_strings.h"
24 #include "grit/generated_resources.h" 23 #include "grit/generated_resources.h"
25 #include "third_party/cros_system_api/dbus/service_constants.h" 24 #include "third_party/cros_system_api/dbus/service_constants.h"
26 #include "ui/base/l10n/l10n_util.h" 25 #include "ui/base/l10n/l10n_util.h"
27 26
28 using chromeos::CrosSettings; 27 using chromeos::CrosSettings;
29 using chromeos::DBusThreadManager; 28 using chromeos::DBusThreadManager;
30 using chromeos::UpdateEngineClient; 29 using chromeos::UpdateEngineClient;
31 using user_manager::UserManager; 30 using user_manager::UserManager;
32 using chromeos::WizardController; 31 using chromeos::WizardController;
33 32
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 last_operation_ = status.status; 207 last_operation_ = status.status;
209 } 208 }
210 209
211 void VersionUpdaterCros::OnUpdateCheck( 210 void VersionUpdaterCros::OnUpdateCheck(
212 UpdateEngineClient::UpdateCheckResult result) { 211 UpdateEngineClient::UpdateCheckResult result) {
213 // 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
214 // possible with respect to automatic updating. 213 // possible with respect to automatic updating.
215 if (result == UpdateEngineClient::UPDATE_RESULT_NOTIMPLEMENTED) 214 if (result == UpdateEngineClient::UPDATE_RESULT_NOTIMPLEMENTED)
216 callback_.Run(UPDATED, 0, base::string16()); 215 callback_.Run(UPDATED, 0, base::string16());
217 } 216 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/help_utils_chromeos.cc ('k') | chrome/browser/ui/webui/media/webrtc_logs_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698