summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/updating_app_registration_data.h
blob: d9114b9add613a52c757421129563e7ce9a2e1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_INSTALLER_UTIL_UPDATING_APP_REGISTRATION_DATA_H_
#define CHROME_INSTALLER_UTIL_UPDATING_APP_REGISTRATION_DATA_H_

#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/strings/string16.h"
#include "chrome/installer/util/app_registration_data.h"

// Registration data for an app that is updated by Google Update.
class UpdatingAppRegistrationData : public AppRegistrationData {
 public:
  explicit UpdatingAppRegistrationData(const base::string16& app_guid);
  ~UpdatingAppRegistrationData() override;
  base::string16 GetAppGuid() const override;
  base::string16 GetStateKey() const override;
  base::string16 GetStateMediumKey() const override;
  base::string16 GetVersionKey() const override;

 private:
  const base::string16 app_guid_;

  DISALLOW_COPY_AND_ASSIGN(UpdatingAppRegistrationData);
};

#endif  // CHROME_INSTALLER_UTIL_UPDATING_APP_REGISTRATION_DATA_H_