| OLD | NEW |
| 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_FEATURE_JSON_FEATURE_PROVIDER_SOURCE_H_ | 5 #ifndef EXTENSIONS_COMMON_FEATURES_JSON_FEATURE_PROVIDER_SOURCE_H_ |
| 6 #define EXTENSIONS_COMMON_FEATURE_JSON_FEATURE_PROVIDER_SOURCE_H_ | 6 #define EXTENSIONS_COMMON_FEATURES_JSON_FEATURE_PROVIDER_SOURCE_H_ |
| 7 |
| 8 #include <string> |
| 7 | 9 |
| 8 #include "base/values.h" | 10 #include "base/values.h" |
| 9 | 11 |
| 10 namespace extensions { | 12 namespace extensions { |
| 11 | 13 |
| 12 // A JSONFeatureProviderSource loads JSON dictionary files that | 14 // A JSONFeatureProviderSource loads JSON dictionary files that |
| 13 // define features. | 15 // define features. |
| 14 class JSONFeatureProviderSource { | 16 class JSONFeatureProviderSource { |
| 15 public: | 17 public: |
| 16 explicit JSONFeatureProviderSource(const std::string& name); | 18 explicit JSONFeatureProviderSource(const std::string& name); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 27 // The name of this feature type; only used for debugging. | 29 // The name of this feature type; only used for debugging. |
| 28 const std::string name_; | 30 const std::string name_; |
| 29 | 31 |
| 30 base::DictionaryValue dictionary_; | 32 base::DictionaryValue dictionary_; |
| 31 | 33 |
| 32 DISALLOW_COPY_AND_ASSIGN(JSONFeatureProviderSource); | 34 DISALLOW_COPY_AND_ASSIGN(JSONFeatureProviderSource); |
| 33 }; | 35 }; |
| 34 | 36 |
| 35 } // namespace extensions | 37 } // namespace extensions |
| 36 | 38 |
| 37 #endif // EXTENSIONS_COMMON_FEATURE_JSON_FEATURE_PROVIDER_SOURCE_H_ | 39 #endif // EXTENSIONS_COMMON_FEATURES_JSON_FEATURE_PROVIDER_SOURCE_H_ |
| OLD | NEW |