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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/String16STL.cpp

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "platform/inspector_protocol/String16.h" 5 #include "platform/inspector_protocol/InspectorProtocol.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cctype> 8 #include <cctype>
9 #include <cstdio> 9 #include <cstdio>
10 #include <locale> 10 #include <locale>
11 11
12 namespace blink { 12 namespace blink {
13 namespace protocol { 13 namespace protocol {
14 14
15 const UChar replacementCharacter = 0xFFFD; 15 const UChar replacementCharacter = 0xFFFD;
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // converted. 396 // converted.
397 DCHECK((buffer + 3) <= (buffer + bufferVector.size())); 397 DCHECK((buffer + 3) <= (buffer + bufferVector.size()));
398 putUTF8Triple(buffer, *characters); 398 putUTF8Triple(buffer, *characters);
399 } 399 }
400 400
401 return std::string(bufferVector.data(), buffer - bufferVector.data()); 401 return std::string(bufferVector.data(), buffer - bufferVector.data());
402 } 402 }
403 403
404 } // namespace protocol 404 } // namespace protocol
405 } // namespace blink 405 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698