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

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

Issue 278013002: Clean-up coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove duplicate include from the .cc 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
« no previous file with comments | « AUTHORS ('k') | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_API_FEATURE_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_ 6 #define EXTENSIONS_COMMON_FEATURES_API_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 APIFeature : public SimpleFeature { 14 class APIFeature : public SimpleFeature {
13 public: 15 public:
14 APIFeature(); 16 APIFeature();
15 virtual ~APIFeature(); 17 virtual ~APIFeature();
16 18
17 // extensions::Feature: 19 // extensions::Feature:
18 virtual bool IsInternal() const OVERRIDE; 20 virtual bool IsInternal() const OVERRIDE;
19 virtual bool IsBlockedInServiceWorker() const OVERRIDE; 21 virtual bool IsBlockedInServiceWorker() const OVERRIDE;
20 22
21 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; 23 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE;
22 24
23 private: 25 private:
24 bool internal_; 26 bool internal_;
25 bool blocked_in_service_worker_; 27 bool blocked_in_service_worker_;
26 }; 28 };
27 29
28 } // namespace extensions 30 } // namespace extensions
29 31
30 #endif // EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_ 32 #endif // EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | extensions/common/features/base_feature_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698