Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: chrome/common/extensions/requirements_provider.h

Issue 10689097: Enforce the 'requirements' field in manifests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« chrome/common/extensions/extension.cc ('K') | « chrome/common/extensions/extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698