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

Side by Side Diff: third_party/WebKit/Source/core/inspector/V8InspectorString.h

Issue 2260233002: [DevTools] Migrate v8_inspector/public from String16 to String{View,Buffer}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styling Created 4 years, 3 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
(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 V8InspectorString_h
6 #define V8InspectorString_h
7
8 #include "core/CoreExport.h"
9 #include "platform/v8_inspector/public/StringBuffer.h"
10 #include "platform/v8_inspector/public/StringView.h"
11 #include "wtf/text/StringView.h"
12 #include "wtf/text/WTFString.h"
13
14 #include <memory>
15
16 namespace blink {
17
18 // Note that passed string must outlive the resulting StringView. This implies i t must not be a temporary object.
19 CORE_EXPORT v8_inspector::StringView toV8InspectorStringView(const StringView&);
20 CORE_EXPORT std::unique_ptr<v8_inspector::StringBuffer> toV8InspectorStringBuffe r(const StringView&);
21 CORE_EXPORT String toCoreString(const v8_inspector::StringView&);
22 CORE_EXPORT String toCoreString(std::unique_ptr<v8_inspector::StringBuffer>);
23
24 } // namespace blink
25
26 #endif // V8InspectorString_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698