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

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

Issue 2154103002: [DevTools] Remove toProtocolValue from v8_inspector/public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/v8_inspector/V8StringUtil.h" 5 #include "platform/v8_inspector/V8StringUtil.h"
6 6
7 #include "platform/inspector_protocol/String16.h" 7 #include "platform/inspector_protocol/String16.h"
8 #include "platform/v8_inspector/V8DebuggerImpl.h" 8 #include "platform/v8_inspector/V8DebuggerImpl.h"
9 #include "platform/v8_inspector/V8InspectorSessionImpl.h" 9 #include "platform/v8_inspector/V8InspectorSessionImpl.h"
10 #include "platform/v8_inspector/V8Regex.h" 10 #include "platform/v8_inspector/V8Regex.h"
11 #include "platform/v8_inspector/public/V8ContentSearchUtil.h" 11 #include "platform/v8_inspector/public/V8ContentSearchUtil.h"
12 #include "platform/v8_inspector/public/V8ToProtocolValue.h"
13 12
14 namespace blink { 13 namespace blink {
15 14
16 namespace { 15 namespace {
17 16
18 String16 findMagicComment(const String16& content, const String16& name, bool mu ltiline, bool* deprecated) 17 String16 findMagicComment(const String16& content, const String16& name, bool mu ltiline, bool* deprecated)
19 { 18 {
20 DCHECK(name.find("=") == kNotFound); 19 DCHECK(name.find("=") == kNotFound);
21 if (deprecated) 20 if (deprecated)
22 *deprecated = false; 21 *deprecated = false;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 return nullptr; 275 return nullptr;
277 jsonObject->setValue(toProtocolString(propertyName), std::move(prope rtyValue)); 276 jsonObject->setValue(toProtocolString(propertyName), std::move(prope rtyValue));
278 } 277 }
279 return std::move(jsonObject); 278 return std::move(jsonObject);
280 } 279 }
281 NOTREACHED(); 280 NOTREACHED();
282 return nullptr; 281 return nullptr;
283 } 282 }
284 283
285 } // namespace blink 284 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698