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

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

Issue 278013002: Clean-up coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove duplicate include from the .cc Created 6 years, 7 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/features/api_feature.h ('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 <stack> 7 #include <stack>
8 #include <utility>
8 9
9 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
10 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
11 #include "extensions/common/extensions_client.h" 12 #include "extensions/common/extensions_client.h"
12 #include "extensions/common/features/complex_feature.h" 13 #include "extensions/common/features/complex_feature.h"
13 #include "extensions/common/features/simple_feature.h" 14 #include "extensions/common/features/simple_feature.h"
14 15
15 namespace extensions { 16 namespace extensions {
16 17
17 namespace { 18 namespace {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 165
165 std::vector<Feature*> result; 166 std::vector<Feature*> result;
166 result.reserve(std::distance(first_child, after_children)); 167 result.reserve(std::distance(first_child, after_children));
167 for (FeatureMap::const_iterator it = first_child; it != after_children; 168 for (FeatureMap::const_iterator it = first_child; it != after_children;
168 ++it) { 169 ++it) {
169 result.push_back(it->second.get()); 170 result.push_back(it->second.get());
170 } 171 }
171 return result; 172 return result;
172 } 173 }
173 174
174 } // namespace extensions 175 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/features/api_feature.h ('k') | extensions/common/features/complex_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698