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/v8_inspector/public/StringView.h" |
| 10 #include "wtf/text/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 StringView&); |
| 17 CORE_EXPORT String toCoreString(const v8_inspector::StringView&); |
| 18 |
| 19 } // namespace blink |
| 20 |
| 21 #endif // V8InspectorStringView_h |
OLD | NEW |