| Index: third_party/WebKit/Source/platform/v8_inspector/public/SimpleInspector.h
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h b/third_party/WebKit/Source/platform/v8_inspector/public/SimpleInspector.h
|
| similarity index 87%
|
| copy from third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h
|
| copy to third_party/WebKit/Source/platform/v8_inspector/public/SimpleInspector.h
|
| index 2d795eb44edbca2a49a8411a31a1dc04b772fa23..eb6c8ebfb388af9d26f3114d8cdf731edc7cc22d 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/public/V8Inspector.h
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/public/SimpleInspector.h
|
| @@ -2,11 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef V8Inspector_h
|
| -#define V8Inspector_h
|
| +#ifndef SimpleInspector_h
|
| +#define SimpleInspector_h
|
|
|
| #include "platform/inspector_protocol/Platform.h"
|
| -#include "platform/v8_inspector/public/V8DebuggerClient.h"
|
| +#include "platform/v8_inspector/public/V8InspectorClient.h"
|
| #include "platform/v8_inspector/public/V8InspectorSession.h"
|
| #include "platform/v8_inspector/public/V8InspectorSessionClient.h"
|
|
|
| @@ -20,14 +20,14 @@ class Frontend;
|
| class FrontendChannel;
|
| }
|
|
|
| -class V8Debugger;
|
| +class V8Inspector;
|
| class V8HeapProfilerAgent;
|
| class V8ProfilerAgent;
|
|
|
| -class V8Inspector : public V8DebuggerClient, V8InspectorSessionClient {
|
| +class SimpleInspector : public V8InspectorClient, V8InspectorSessionClient {
|
| public:
|
| - V8Inspector(v8::Isolate*, v8::Local<v8::Context>);
|
| - ~V8Inspector();
|
| + SimpleInspector(v8::Isolate*, v8::Local<v8::Context>);
|
| + ~SimpleInspector();
|
|
|
| // Transport interface.
|
| void connectFrontend(protocol::FrontendChannel*);
|
| @@ -70,7 +70,7 @@ private:
|
| void profilingStopped() override { };
|
| void consoleCleared() override { };
|
|
|
| - std::unique_ptr<V8Debugger> m_debugger;
|
| + std::unique_ptr<V8Inspector> m_inspector;
|
| std::unique_ptr<V8InspectorSession> m_session;
|
| String16 m_state;
|
| v8::Local<v8::Context> m_context;
|
| @@ -78,4 +78,4 @@ private:
|
|
|
| }
|
|
|
| -#endif // V8Inspector_h
|
| +#endif // SimpleInspector_h
|
|
|