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

Side by Side Diff: chrome/common/extensions/features/complex_feature.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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"
11 #include "chrome/common/extensions/extension.h" 11 #include "extensions/common/extension.h"
12 #include "extensions/common/features/feature.h" 12 #include "extensions/common/features/feature.h"
13 #include "extensions/common/manifest.h" 13 #include "extensions/common/manifest.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 16
17 // A ComplexFeature is composed of one or many Features. A ComplexFeature 17 // A ComplexFeature is composed of one or many Features. A ComplexFeature
18 // is available if any Feature (i.e. permission rule) that composes it is 18 // is available if any Feature (i.e. permission rule) that composes it is
19 // available, but not if only some combination of Features is available. 19 // available, but not if only some combination of Features is available.
20 class ComplexFeature : public Feature { 20 class ComplexFeature : public Feature {
21 public: 21 public:
(...skipping 30 matching lines...) Expand all
52 52
53 private: 53 private:
54 FeatureList features_; 54 FeatureList features_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(ComplexFeature); 56 DISALLOW_COPY_AND_ASSIGN(ComplexFeature);
57 }; 57 };
58 58
59 } // namespace extensions 59 } // namespace extensions
60 60
61 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_ 61 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_COMPLEX_FEATURE_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_unittest.cc ('k') | chrome/common/extensions/features/permission_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698