OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ |
6 #define CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ | 6 #define CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 protected: | 43 protected: |
44 // extensions::Feature: | 44 // extensions::Feature: |
45 virtual std::string GetAvailabilityMessage( | 45 virtual std::string GetAvailabilityMessage( |
46 AvailabilityResult result, | 46 AvailabilityResult result, |
47 Manifest::Type type, | 47 Manifest::Type type, |
48 const GURL& url) const OVERRIDE; | 48 const GURL& url) const OVERRIDE; |
49 | 49 |
50 virtual std::set<Context>* GetContexts() OVERRIDE; | 50 virtual std::set<Context>* GetContexts() OVERRIDE; |
51 | 51 |
52 virtual bool IsInternal() const OVERRIDE; | 52 virtual bool IsInternal() const OVERRIDE; |
| 53 virtual bool HasParent() const OVERRIDE; |
53 | 54 |
54 private: | 55 private: |
55 FeatureList features_; | 56 FeatureList features_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(ComplexFeature); | 58 DISALLOW_COPY_AND_ASSIGN(ComplexFeature); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace extensions | 61 } // namespace extensions |
61 | 62 |
62 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ | 63 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ |
OLD | NEW |