OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_APP_REGISTRATION_DATA_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_APP_REGISTRATION_DATA_H_ |
6 #define CHROME_INSTALLER_UTIL_APP_REGISTRATION_DATA_H_ | 6 #define CHROME_INSTALLER_UTIL_APP_REGISTRATION_DATA_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 | 9 |
10 // An interface to retrieve product-specific key paths to communicate with | 10 // An interface to retrieve product-specific key paths to communicate with |
11 // Google Update via registry. | 11 // Google Update via registry. |
12 class AppRegistrationData { | 12 class AppRegistrationData { |
13 public: | 13 public: |
14 virtual ~AppRegistrationData() {} | 14 virtual ~AppRegistrationData() {} |
15 virtual base::string16 GetAppGuid() const = 0; | |
16 virtual base::string16 GetStateKey() const = 0; | 15 virtual base::string16 GetStateKey() const = 0; |
17 virtual base::string16 GetStateMediumKey() const = 0; | 16 virtual base::string16 GetStateMediumKey() const = 0; |
18 virtual base::string16 GetVersionKey() const = 0; | 17 virtual base::string16 GetVersionKey() const = 0; |
19 }; | 18 }; |
20 | 19 |
21 #endif // CHROME_INSTALLER_UTIL_APP_REGISTRATION_DATA_H_ | 20 #endif // CHROME_INSTALLER_UTIL_APP_REGISTRATION_DATA_H_ |
OLD | NEW |