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

Unified Diff: chrome/browser/extensions/requirements_provider_impl.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, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/requirements_provider_impl.h
diff --git a/chrome/browser/extensions/requirements_provider_impl.h b/chrome/browser/extensions/requirements_provider_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..6bc1a963cb8aeda3943e4846ab468ba59939d213
--- /dev/null
+++ b/chrome/browser/extensions/requirements_provider_impl.h
@@ -0,0 +1,22 @@
+// 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_BROWSER_EXTENSIONS_REQUIREMENTS_PROVIDER_IMPL_H_
+#define CHROME_BROWSER_EXTENSIONS_REQUIREMENTS_PROVIDER_IMPL_H_
+#pragma once
+
+#include "chrome/common/extensions/requirements_provider.h"
+
+namespace extensions {
+
+class RequirementsProviderImpl : public RequirementsProvider {
+ public:
+ RequirementsProviderImpl();
+
+ virtual bool Supports(const Manifest& manifest, string16* error);
+};
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_REQUIREMENTS_PROVIDER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698