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

Side by Side Diff: extensions/common/features/base_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 4 years, 12 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
« no previous file with comments | « extensions/common/feature_switch.cc ('k') | extensions/common/features/complex_feature.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 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 #include "extensions/common/features/base_feature_provider.h" 5 #include "extensions/common/features/base_feature_provider.h"
6 6
7 #include <stddef.h>
8
7 #include <stack> 9 #include <stack>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
11 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
12 #include "extensions/common/extensions_client.h" 14 #include "extensions/common/extensions_client.h"
13 #include "extensions/common/features/complex_feature.h" 15 #include "extensions/common/features/complex_feature.h"
14 #include "extensions/common/features/simple_feature.h" 16 #include "extensions/common/features/simple_feature.h"
15 17
16 namespace extensions { 18 namespace extensions {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 std::vector<Feature*> result; 197 std::vector<Feature*> result;
196 result.reserve(std::distance(first_child, after_children)); 198 result.reserve(std::distance(first_child, after_children));
197 for (FeatureMap::const_iterator it = first_child; it != after_children; 199 for (FeatureMap::const_iterator it = first_child; it != after_children;
198 ++it) { 200 ++it) {
199 result.push_back(it->second.get()); 201 result.push_back(it->second.get());
200 } 202 }
201 return result; 203 return result;
202 } 204 }
203 205
204 } // namespace extensions 206 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/feature_switch.cc ('k') | extensions/common/features/complex_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698