summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/non_updating_app_registration_data.h
blob: a25f97a07c3a199ed2cfcc11c3522223361f3a22 (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_NON_UPDATING_APP_REGISTRATION_DATA_H_
#define CHROME_INSTALLER_UTIL_NON_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 not updated by Google Update.
class NonUpdatingAppRegistrationData : public AppRegistrationData {
 public:
  explicit NonUpdatingAppRegistrationData(const base::string16& key_path);
  ~NonUpdatingAppRegistrationData() 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 key_path_;

  DISALLOW_COPY_AND_ASSIGN(NonUpdatingAppRegistrationData);
};

#endif  // CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_