1cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
2cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
3cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// found in the LICENSE file.
4cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)
5cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#ifndef CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_
6cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#define CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_
7cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)
8cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "base/compiler_specific.h"
9cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "base/macros.h"
10cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "base/strings/string16.h"
11cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "chrome/installer/util/app_registration_data.h"
12cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)
13cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Registration data for an app that is not updated by Google Update.
14cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)class NonUpdatingAppRegistrationData : public AppRegistrationData {
15cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) public:
16cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  explicit NonUpdatingAppRegistrationData(const base::string16& key_path);
17cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  virtual ~NonUpdatingAppRegistrationData();
18cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  virtual base::string16 GetAppGuid() const OVERRIDE;
19cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  virtual base::string16 GetStateKey() const OVERRIDE;
20cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  virtual base::string16 GetStateMediumKey() const OVERRIDE;
21cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  virtual base::string16 GetVersionKey() const OVERRIDE;
22cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)
23cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) private:
24cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  const base::string16 key_path_;
25cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)
26cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)  DISALLOW_COPY_AND_ASSIGN(NonUpdatingAppRegistrationData);
27cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)};
28cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)
29cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#endif  // CHROME_INSTALLER_UTIL_NON_UPDATING_APP_REGISTRATION_DATA_H_
30