blob: 95281699b9210518aeece54ac68b0c2c2376a262 [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);
virtual ~NonUpdatingAppRegistrationData();
virtual base::string16 GetAppGuid() const OVERRIDE;
virtual base::string16 GetStateKey() const OVERRIDE;
virtual base::string16 GetStateMediumKey() const OVERRIDE;
virtual 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_