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

Side by Side Diff: third_party/WebKit/Source/wtf/text/StringConcatenate.h

Issue 2373983006: reflow comments in wtf/text (Closed)
Patch Set: Created 4 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 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 #ifndef StringConcatenate_h 26 #ifndef StringConcatenate_h
27 #define StringConcatenate_h 27 #define StringConcatenate_h
28 28
29 #include "wtf/Allocator.h" 29 #include "wtf/Allocator.h"
30 #include <string.h> 30 #include <string.h>
31 31
32 #ifndef WTFString_h 32 #ifndef WTFString_h
33 #include "wtf/text/AtomicString.h" 33 #include "wtf/text/AtomicString.h"
34 #endif 34 #endif
35 35
36 // This macro is helpful for testing how many intermediate Strings are created w hile evaluating an 36 // This macro is helpful for testing how many intermediate Strings are created
37 // expression containing operator+. 37 // while evaluating an expression containing operator+.
38 #ifndef WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING 38 #ifndef WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING
39 #define WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING() ((void)0) 39 #define WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING() ((void)0)
40 #endif 40 #endif
41 41
42 namespace WTF { 42 namespace WTF {
43 43
44 template <typename StringType> 44 template <typename StringType>
45 class StringTypeAdapter { 45 class StringTypeAdapter {
46 DISALLOW_NEW(); 46 DISALLOW_NEW();
47 }; 47 };
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 result += adapter1.length(); 321 result += adapter1.length();
322 adapter2.writeTo(result); 322 adapter2.writeTo(result);
323 323
324 return resultImpl.release(); 324 return resultImpl.release();
325 } 325 }
326 326
327 } // namespace WTF 327 } // namespace WTF
328 328
329 #include "wtf/text/StringOperators.h" 329 #include "wtf/text/StringOperators.h"
330 #endif 330 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698