Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef V8InspectorStringView_h | |
| 6 #define V8InspectorStringView_h | |
| 7 | |
| 8 #include "core/CoreExport.h" | |
| 9 #include "platform/inspector_protocol/InspectorProtocol.h" | |
| 10 #include "platform/v8_inspector/public/StringView.h" | |
| 11 #include "wtf/text/WTFString.h" | |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 // Note that passed strings must outlive the resulting StringView. This implies it must not be a temporary object. | |
| 16 CORE_EXPORT v8_inspector::StringView toV8InspectorStringView(const String&); | |
|
esprehn
2016/08/19 18:53:12
just take a WTF::StringView
dgozman
2016/08/19 20:50:12
Done.
| |
| 17 CORE_EXPORT v8_inspector::StringView toV8InspectorStringView(const String16&); | |
| 18 CORE_EXPORT v8_inspector::StringView toV8InspectorStringView(const char*); | |
|
esprehn
2016/08/19 18:53:12
remove this one
dgozman
2016/08/19 20:50:12
Done.
| |
| 19 CORE_EXPORT String toCoreString(const v8_inspector::StringView&); | |
| 20 | |
| 21 } // namespace blink | |
| 22 | |
| 23 #endif // V8InspectorStringView_h | |
| OLD | NEW |