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

Side by Side Diff: extensions/common/value_builder.h

Issue 225493002: cleanup: cpplint src/extension/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comment Created 6 years, 8 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/user_script_unittest.cc ('k') | no next file » | 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 // This file provides a builders for DictionaryValue and ListValue. These 5 // This file provides a builders for DictionaryValue and ListValue. These
6 // aren't specific to extensions and could move up to base/ if there's interest 6 // aren't specific to extensions and could move up to base/ if there's interest
7 // from other sub-projects. 7 // from other sub-projects.
8 // 8 //
9 // The general pattern is to write: 9 // The general pattern is to write:
10 // 10 //
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 ListBuilder& Append(ListBuilder& in_value); 93 ListBuilder& Append(ListBuilder& in_value);
94 94
95 // Named differently because overload resolution is too eager to 95 // Named differently because overload resolution is too eager to
96 // convert implicitly to bool. 96 // convert implicitly to bool.
97 ListBuilder& AppendBoolean(bool in_value); 97 ListBuilder& AppendBoolean(bool in_value);
98 98
99 private: 99 private:
100 scoped_ptr<base::ListValue> list_; 100 scoped_ptr<base::ListValue> list_;
101 }; 101 };
102 102
103 } // namespace extensions 103 } // namespace extensions
104 104
105 #endif // EXTENSIONS_COMMON_VALUE_BUILDER_H_ 105 #endif // EXTENSIONS_COMMON_VALUE_BUILDER_H_
OLDNEW
« no previous file with comments | « extensions/common/user_script_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698