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

Side by Side Diff: extensions/common/features/feature_provider.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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
« no previous file with comments | « extensions/common/features/feature.cc ('k') | extensions/common/features/feature_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "extensions/common/features/feature_provider.h" 5 #include "extensions/common/features/feature_provider.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/basictypes.h"
10 #include "base/command_line.h" 9 #include "base/command_line.h"
11 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
12 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
13 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
14 #include "base/trace_event/trace_event.h" 13 #include "base/trace_event/trace_event.h"
15 #include "content/public/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
16 #include "extensions/common/extensions_client.h" 15 #include "extensions/common/extensions_client.h"
17 #include "extensions/common/features/feature_util.h" 16 #include "extensions/common/features/feature_util.h"
18 #include "extensions/common/switches.h" 17 #include "extensions/common/switches.h"
19 18
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const Feature* FeatureProvider::GetPermissionFeature(const std::string& name) { 121 const Feature* FeatureProvider::GetPermissionFeature(const std::string& name) {
123 return GetFeatureFromProviderByName("permission", name); 122 return GetFeatureFromProviderByName("permission", name);
124 } 123 }
125 124
126 // static 125 // static
127 const Feature* FeatureProvider::GetBehaviorFeature(const std::string& name) { 126 const Feature* FeatureProvider::GetBehaviorFeature(const std::string& name) {
128 return GetFeatureFromProviderByName("behavior", name); 127 return GetFeatureFromProviderByName("behavior", name);
129 } 128 }
130 129
131 } // namespace extensions 130 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/features/feature.cc ('k') | extensions/common/features/feature_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698