| 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 #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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "base/version.h" | 17 #include "base/version.h" |
| 18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
| 19 #include "chrome/installer/util/util_constants.h" | 19 #include "chrome/installer/util/util_constants.h" |
| 20 #include "components/metrics/client_info.h" | 20 #include "components/metrics/client_info.h" |
| 21 | 21 |
| 22 class AppRegistrationData; | |
| 23 class BrowserDistribution; | 22 class BrowserDistribution; |
| 24 | 23 |
| 25 namespace installer { | 24 namespace installer { |
| 26 class ChannelInfo; | 25 class ChannelInfo; |
| 27 class InstallationState; | 26 class InstallationState; |
| 28 } | 27 } |
| 29 | 28 |
| 30 // This class provides accessors to the Google Update group policies and | 29 // This class provides accessors to the Google Update group policies and |
| 31 // 'ClientState' information. The group policies are set using specific | 30 // 'ClientState' information. The group policies are set using specific |
| 32 // administrative templates. The 'ClientState' information is recorded when the | 31 // administrative templates. The 'ClientState' information is recorded when the |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // this will do nothing to |experiment_labels|. This will return true if the | 341 // this will do nothing to |experiment_labels|. This will return true if the |
| 343 // label did not exist, or was successfully read. | 342 // label did not exist, or was successfully read. |
| 344 static bool ReadExperimentLabels(bool system_install, | 343 static bool ReadExperimentLabels(bool system_install, |
| 345 base::string16* experiment_labels); | 344 base::string16* experiment_labels); |
| 346 | 345 |
| 347 private: | 346 private: |
| 348 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); | 347 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); |
| 349 }; | 348 }; |
| 350 | 349 |
| 351 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ | 350 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ |
| OLD | NEW |