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

Side by Side Diff: src/string-stream.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project 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 V8_STRING_STREAM_H_ 5 #ifndef V8_STRING_STREAM_H_
6 #define V8_STRING_STREAM_H_ 6 #define V8_STRING_STREAM_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/smart-pointers.h" 9 #include "src/base/smart-pointers.h"
10 #include "src/handles.h" 10 #include "src/handles.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 unsigned capacity_; 171 unsigned capacity_;
172 unsigned length_; // does not include terminating 0-character 172 unsigned length_; // does not include terminating 0-character
173 char* buffer_; 173 char* buffer_;
174 174
175 bool full() const { return (capacity_ - length_) == 1; } 175 bool full() const { return (capacity_ - length_) == 1; }
176 int space() const { return capacity_ - length_; } 176 int space() const { return capacity_ - length_; }
177 177
178 DISALLOW_IMPLICIT_CONSTRUCTORS(StringStream); 178 DISALLOW_IMPLICIT_CONSTRUCTORS(StringStream);
179 }; 179 };
180 180
181 } } // namespace v8::internal 181 } // namespace internal
182 } // namespace v8
182 183
183 #endif // V8_STRING_STREAM_H_ 184 #endif // V8_STRING_STREAM_H_
OLDNEW
« src/objects.h ('K') | « src/string-search.h ('k') | src/strings-storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698