Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_EXTENSIONS_REQUIREMENTS_PROVIDER_H_ | |
| 6 #define CHROME_COMMON_EXTENSIONS_REQUIREMENTS_PROVIDER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/string16.h" | |
| 10 | |
| 11 namespace extensions { | |
| 12 class Manifest; | |
| 13 | |
| 14 class RequirementsProvider { | |
|
Aaron Boodman
2012/07/16 21:16:12
I don't think this needs to be abstract for now. T
| |
| 15 public: | |
| 16 static RequirementsProvider* Create(); | |
| 17 | |
| 18 virtual ~RequirementsProvider() {} | |
| 19 | |
| 20 virtual bool Supports(const Manifest& manifest, string16* error) = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace extensions | |
| 24 | |
| 25 #endif // CHROME_COMMON_EXTENSIONS_REQUIREMENTS_PROVIDER_H_ | |
| OLD | NEW |