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

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

Issue 2718063002: Use install_static::GetAppGuid in place of BrowserDistribution and AppRegistrationData. (Closed)
Patch Set: huangs feedback plus Chromium test fix Created 3 years, 9 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 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_NON_UPDATING_APP_REGISTRATION_DATA_H_ 5 #ifndef CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_
6 #define CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_ 6 #define CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "chrome/installer/util/app_registration_data.h" 11 #include "chrome/installer/util/app_registration_data.h"
12 12
13 // Registration data for an app that is not updated by Google Update. 13 // Registration data for an app that is not updated by Google Update.
14 class NonUpdatingAppRegistrationData : public AppRegistrationData { 14 class NonUpdatingAppRegistrationData : public AppRegistrationData {
15 public: 15 public:
16 explicit NonUpdatingAppRegistrationData(const base::string16& key_path); 16 explicit NonUpdatingAppRegistrationData(const base::string16& key_path);
17 ~NonUpdatingAppRegistrationData() override; 17 ~NonUpdatingAppRegistrationData() override;
18 base::string16 GetAppGuid() const override;
19 base::string16 GetStateKey() const override; 18 base::string16 GetStateKey() const override;
20 base::string16 GetStateMediumKey() const override; 19 base::string16 GetStateMediumKey() const override;
21 base::string16 GetVersionKey() const override; 20 base::string16 GetVersionKey() const override;
22 21
23 private: 22 private:
24 const base::string16 key_path_; 23 const base::string16 key_path_;
25 24
26 DISALLOW_COPY_AND_ASSIGN(NonUpdatingAppRegistrationData); 25 DISALLOW_COPY_AND_ASSIGN(NonUpdatingAppRegistrationData);
27 }; 26 };
28 27
29 #endif // CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_ 28 #endif // CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_update_settings_unittest.cc ('k') | chrome/installer/util/non_updating_app_registration_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698