Chromium Code Reviews| Index: chrome/common/extensions/requirements_provider.h |
| diff --git a/chrome/common/extensions/requirements_provider.h b/chrome/common/extensions/requirements_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..52875dc6034b424b68fc87b9a4cdfa208e57c4d7 |
| --- /dev/null |
| +++ b/chrome/common/extensions/requirements_provider.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2012 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_COMMON_EXTENSIONS_REQUIREMENTS_PROVIDER_H_ |
| +#define CHROME_COMMON_EXTENSIONS_REQUIREMENTS_PROVIDER_H_ |
| +#pragma once |
| + |
| +#include "base/string16.h" |
| + |
| +namespace extensions { |
| +class Manifest; |
| + |
| +class RequirementsProvider { |
|
Aaron Boodman
2012/07/16 21:16:12
I don't think this needs to be abstract for now. T
|
| + public: |
| + static RequirementsProvider* Create(); |
| + |
| + virtual ~RequirementsProvider() {} |
| + |
| + virtual bool Supports(const Manifest& manifest, string16* error) = 0; |
| +}; |
| + |
| +} // namespace extensions |
| + |
| +#endif // CHROME_COMMON_EXTENSIONS_REQUIREMENTS_PROVIDER_H_ |