Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / installer / util / updating_app_registration_data.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_INSTALLER_UTIL_UPDATING_APP_REGISTRATION_DATA_H_
6 #define CHROME_INSTALLER_UTIL_UPDATING_APP_REGISTRATION_DATA_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/strings/string16.h"
11 #include "chrome/installer/util/app_registration_data.h"
12
13 // Registration data for an app that is updated by Google Update.
14 class UpdatingAppRegistrationData : public AppRegistrationData {
15  public:
16   explicit UpdatingAppRegistrationData(const base::string16& app_guid);
17   virtual ~UpdatingAppRegistrationData();
18   virtual base::string16 GetAppGuid() const override;
19   virtual base::string16 GetStateKey() const override;
20   virtual base::string16 GetStateMediumKey() const override;
21   virtual base::string16 GetVersionKey() const override;
22
23  private:
24   const base::string16 app_guid_;
25
26   DISALLOW_COPY_AND_ASSIGN(UpdatingAppRegistrationData);
27 };
28
29 #endif  // CHROME_INSTALLER_UTIL_UPDATING_APP_REGISTRATION_DATA_H_