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

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

Issue 377753003: Remove GetContexts() from the public interface of extensions::Feature. It was (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | Annotate | Revision Log
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_COMPLEX_FEATURE_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_ 6 #define EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual bool IsBlockedInServiceWorker() const OVERRIDE; 42 virtual bool IsBlockedInServiceWorker() const OVERRIDE;
43 43
44 protected: 44 protected:
45 // extensions::Feature: 45 // extensions::Feature:
46 virtual std::string GetAvailabilityMessage( 46 virtual std::string GetAvailabilityMessage(
47 AvailabilityResult result, 47 AvailabilityResult result,
48 Manifest::Type type, 48 Manifest::Type type,
49 const GURL& url, 49 const GURL& url,
50 Context context) const OVERRIDE; 50 Context context) const OVERRIDE;
51 51
52 virtual std::set<Context>* GetContexts() OVERRIDE;
53
54 virtual bool IsInternal() const OVERRIDE; 52 virtual bool IsInternal() const OVERRIDE;
55 53
56 private: 54 private:
57 FeatureList features_; 55 FeatureList features_;
58 56
59 DISALLOW_COPY_AND_ASSIGN(ComplexFeature); 57 DISALLOW_COPY_AND_ASSIGN(ComplexFeature);
60 }; 58 };
61 59
62 } // namespace extensions 60 } // namespace extensions
63 61
64 #endif // EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_ 62 #endif // EXTENSIONS_COMMON_FEATURES_COMPLEX_FEATURE_H_
OLDNEW
« no previous file with comments | « extensions/common/features/api_feature.cc ('k') | extensions/common/features/complex_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698