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

Side by Side Diff: chrome/common/extensions/features/permission_feature.h

Issue 224163002: Move core features code to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move tests Created 6 years, 8 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 | Annotate | Revision Log
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_FEATURES_PERMISSION_FEATURE_H_
6 #define CHROME_COMMON_EXTENSIONS_FEATURES_PERMISSION_FEATURE_H_
7
8 #include "chrome/common/extensions/features/simple_feature.h"
9
10 namespace extensions {
11
12 class PermissionFeature : public SimpleFeature {
13 public:
14 PermissionFeature();
15 virtual ~PermissionFeature();
16
17 virtual Feature::Availability IsAvailableToContext(
18 const Extension* extension,
19 Feature::Context context,
20 const GURL& url,
21 Feature::Platform platform) const OVERRIDE;
22
23 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE;
24 };
25
26 } // extensions
27
28 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_PERMISSION_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698