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

Side by Side Diff: chrome/installer/util/google_update_settings.h

Issue 1301883002: Revert of base: Remove using:: declaration from version.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 static bool ReenableAutoupdates(); 264 static bool ReenableAutoupdates();
265 265
266 // Records UMA stats about Chrome's update policy. 266 // Records UMA stats about Chrome's update policy.
267 static void RecordChromeUpdatePolicyHistograms(); 267 static void RecordChromeUpdatePolicyHistograms();
268 268
269 // Returns Google Update's uninstall command line, or an empty string if none 269 // Returns Google Update's uninstall command line, or an empty string if none
270 // is found. 270 // is found.
271 static base::string16 GetUninstallCommandLine(bool system_install); 271 static base::string16 GetUninstallCommandLine(bool system_install);
272 272
273 // Returns the version of Google Update that is installed. 273 // Returns the version of Google Update that is installed.
274 static base::Version GetGoogleUpdateVersion(bool system_install); 274 static Version GetGoogleUpdateVersion(bool system_install);
275 275
276 // Returns the time at which Google Update last started an automatic update 276 // Returns the time at which Google Update last started an automatic update
277 // check, or the null time if this information isn't available. 277 // check, or the null time if this information isn't available.
278 static base::Time GetGoogleUpdateLastStartedAU(bool system_install); 278 static base::Time GetGoogleUpdateLastStartedAU(bool system_install);
279 279
280 // Returns the time at which Google Update last successfully contacted Google 280 // Returns the time at which Google Update last successfully contacted Google
281 // servers and got a valid check response, or the null time if this 281 // servers and got a valid check response, or the null time if this
282 // information isn't available. 282 // information isn't available.
283 static base::Time GetGoogleUpdateLastChecked(bool system_install); 283 static base::Time GetGoogleUpdateLastChecked(bool system_install);
284 284
(...skipping 29 matching lines...) Expand all
314 // this will do nothing to |experiment_labels|. This will return true if the 314 // this will do nothing to |experiment_labels|. This will return true if the
315 // label did not exist, or was successfully read. 315 // label did not exist, or was successfully read.
316 static bool ReadExperimentLabels(bool system_install, 316 static bool ReadExperimentLabels(bool system_install,
317 base::string16* experiment_labels); 317 base::string16* experiment_labels);
318 318
319 private: 319 private:
320 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); 320 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
321 }; 321 };
322 322
323 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 323 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_chrome_distribution_dummy.cc ('k') | chrome/installer/util/google_update_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698