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

Side by Side Diff: chrome/browser/chromeos/login/version_info_updater.h

Issue 10827322: Set linux distro to CHROMEOS_RELEASE_DESCRIPTION on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk and switch to const-ref string params in version loader callbacks Created 8 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/boot_times_loader.h" 10 #include "chrome/browser/chromeos/boot_times_loader.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Check and update enterprise domain. 67 // Check and update enterprise domain.
68 void UpdateEnterpriseInfo(); 68 void UpdateEnterpriseInfo();
69 69
70 // Set enterprise domain name. 70 // Set enterprise domain name.
71 void SetEnterpriseInfo(const std::string& domain_name, 71 void SetEnterpriseInfo(const std::string& domain_name,
72 const std::string& status_text, 72 const std::string& status_text,
73 bool reporting_hint); 73 bool reporting_hint);
74 74
75 // Callback from chromeos::VersionLoader giving the version. 75 // Callback from chromeos::VersionLoader giving the version.
76 void OnVersion(VersionLoader::Handle handle, std::string version); 76 void OnVersion(VersionLoader::Handle handle, const std::string& version);
77 // Callback from chromeos::InfoLoader giving the boot times. 77 // Callback from chromeos::InfoLoader giving the boot times.
78 void OnBootTimes( 78 void OnBootTimes(
79 BootTimesLoader::Handle handle, BootTimesLoader::BootTimes boot_times); 79 BootTimesLoader::Handle handle, BootTimesLoader::BootTimes boot_times);
80 // Null callback from chromeos::InfoLoader. 80 // Null callback from chromeos::InfoLoader.
81 void OnBootTimesNoop( 81 void OnBootTimesNoop(
82 BootTimesLoader::Handle handle, BootTimesLoader::BootTimes boot_times); 82 BootTimesLoader::Handle handle, BootTimesLoader::BootTimes boot_times);
83 83
84 // Handles asynchronously loading the version. 84 // Handles asynchronously loading the version.
85 VersionLoader version_loader_; 85 VersionLoader version_loader_;
86 // Used to request the version. 86 // Used to request the version.
(...skipping 20 matching lines...) Expand all
107 chromeos::CrosSettings* cros_settings_; 107 chromeos::CrosSettings* cros_settings_;
108 108
109 Delegate* delegate_; 109 Delegate* delegate_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(VersionInfoUpdater); 111 DISALLOW_COPY_AND_ASSIGN(VersionInfoUpdater);
112 }; 112 };
113 113
114 } // namespace chromeos 114 } // namespace chromeos
115 115
116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ 116 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_linux.cc ('k') | chrome/browser/chromeos/login/version_info_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698