OLD | NEW |
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 Loading... |
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 |
OLD | NEW |