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

Side by Side Diff: src/inspector/public/StringBuffer.h

Issue 2292053003: [inspector] Build inspector under v8_enable_inspector build flag. (Closed)
Patch Set: owners 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 V8 project 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 V8_INSPECTOR_PUBLIC_STRINGBUFFER_H_
6 #define V8_INSPECTOR_PUBLIC_STRINGBUFFER_H_
7
8 #include "src/inspector/public/StringView.h"
9
10 #include <memory>
11
12 namespace v8_inspector {
13
14 class PLATFORM_EXPORT StringBuffer {
15 public:
16 virtual ~StringBuffer() {}
17 virtual const StringView& string() = 0;
18 // This method copies contents.
19 static std::unique_ptr<StringBuffer> create(const StringView&);
20 };
21
22 } // namespace v8_inspector
23
24 #endif // V8_INSPECTOR_PUBLIC_STRINGBUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698