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

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

Issue 278013002: Clean-up coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_ 6 #define EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_
7 7
8 #include <string>
9
8 #include "extensions/common/features/simple_feature.h" 10 #include "extensions/common/features/simple_feature.h"
9 11
10 namespace extensions { 12 namespace extensions {
11 13
12 class PermissionFeature : public SimpleFeature { 14 class PermissionFeature : public SimpleFeature {
13 public: 15 public:
14 PermissionFeature(); 16 PermissionFeature();
15 virtual ~PermissionFeature(); 17 virtual ~PermissionFeature();
16 18
17 virtual Feature::Availability IsAvailableToContext( 19 virtual Feature::Availability IsAvailableToContext(
18 const Extension* extension, 20 const Extension* extension,
19 Feature::Context context, 21 Feature::Context context,
20 const GURL& url, 22 const GURL& url,
21 Feature::Platform platform) const OVERRIDE; 23 Feature::Platform platform) const OVERRIDE;
22 24
23 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; 25 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE;
24 }; 26 };
25 27
26 } // extensions 28 } // namespace extensions
27 29
28 #endif // EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_ 30 #endif // EXTENSIONS_COMMON_FEATURES_PERMISSION_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698