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

Side by Side Diff: runtime/platform/text_buffer.h

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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 | « runtime/platform/signal_blocker.h ('k') | runtime/platform/utils.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef PLATFORM_TEXT_BUFFER_H_ 5 #ifndef RUNTIME_PLATFORM_TEXT_BUFFER_H_
6 #define PLATFORM_TEXT_BUFFER_H_ 6 #define RUNTIME_PLATFORM_TEXT_BUFFER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 10
11 namespace dart { 11 namespace dart {
12 12
13 13
14 // TextBuffer maintains a dynamic character buffer with a printf-style way to 14 // TextBuffer maintains a dynamic character buffer with a printf-style way to
15 // append text. 15 // append text.
16 class TextBuffer : ValueObject { 16 class TextBuffer : ValueObject {
(...skipping 21 matching lines...) Expand all
38 38
39 private: 39 private:
40 void EnsureCapacity(intptr_t len); 40 void EnsureCapacity(intptr_t len);
41 char* buf_; 41 char* buf_;
42 intptr_t buf_size_; 42 intptr_t buf_size_;
43 intptr_t msg_len_; 43 intptr_t msg_len_;
44 }; 44 };
45 45
46 } // namespace dart 46 } // namespace dart
47 47
48 #endif // PLATFORM_TEXT_BUFFER_H_ 48 #endif // RUNTIME_PLATFORM_TEXT_BUFFER_H_
OLDNEW
« no previous file with comments | « runtime/platform/signal_blocker.h ('k') | runtime/platform/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698