| OLD | NEW |
| (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_API_FEATURE_H_ | |
| 6 #define CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ | |
| 7 | |
| 8 #include "chrome/common/extensions/features/simple_feature.h" | |
| 9 | |
| 10 namespace extensions { | |
| 11 | |
| 12 class APIFeature : public SimpleFeature { | |
| 13 public: | |
| 14 APIFeature(); | |
| 15 virtual ~APIFeature(); | |
| 16 | |
| 17 // extensions::Feature: | |
| 18 virtual bool IsInternal() const OVERRIDE; | |
| 19 virtual bool IsBlockedInServiceWorker() const OVERRIDE; | |
| 20 | |
| 21 virtual std::string Parse(const base::DictionaryValue* value) OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 bool internal_; | |
| 25 bool blocked_in_service_worker_; | |
| 26 }; | |
| 27 | |
| 28 } // namespace extensions | |
| 29 | |
| 30 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ | |
| OLD | NEW |