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

Side by Side Diff: src/inspector/string-16.cc

Issue 2338413003: [inspector] change implementation file extension from cpp to cc (Closed)
Patch Set: string16 -> string-16 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
« no previous file with comments | « src/inspector/string-16.h ('k') | src/inspector/string-util.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #include "src/inspector/String16.h" 5 #include "src/inspector/string-16.h"
6
7 #include "src/base/platform/platform.h" 6 #include "src/base/platform/platform.h"
8 #include "src/inspector/ProtocolPlatform.h" 7 #include "src/inspector/protocol-platform.h"
9 8
10 #include <algorithm> 9 #include <algorithm>
11 #include <cctype> 10 #include <cctype>
12 #include <cstdlib> 11 #include <cstdlib>
13 #include <cstring> 12 #include <cstring>
14 #include <locale> 13 #include <locale>
15 #include <string> 14 #include <string>
16 15
17 namespace v8_inspector { 16 namespace v8_inspector {
18 17
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 // There should be room left, since one UChar hasn't been 500 // There should be room left, since one UChar hasn't been
502 // converted. 501 // converted.
503 DCHECK((buffer + 3) <= (buffer + bufferVector.size())); 502 DCHECK((buffer + 3) <= (buffer + bufferVector.size()));
504 putUTF8Triple(buffer, *characters); 503 putUTF8Triple(buffer, *characters);
505 } 504 }
506 505
507 return std::string(bufferVector.data(), buffer - bufferVector.data()); 506 return std::string(bufferVector.data(), buffer - bufferVector.data());
508 } 507 }
509 508
510 } // namespace v8_inspector 509 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/string-16.h ('k') | src/inspector/string-util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698