blob: a25f97a07c3a199ed2cfcc11c3522223361f3a22 [file] [log] [blame]
// 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_