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

Unified Diff: src/inspector/public/V8InspectorSession.h

Issue 2300823002: Revert of [inspector] Initial import of v8_inspector. (Closed)
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/inspector/public/V8InspectorClient.h ('k') | src/inspector/public/V8StackTrace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/public/V8InspectorSession.h
diff --git a/src/inspector/public/V8InspectorSession.h b/src/inspector/public/V8InspectorSession.h
deleted file mode 100644
index 3cee9f17e071d3bd6e9700b6998f52c0a688c03c..0000000000000000000000000000000000000000
--- a/src/inspector/public/V8InspectorSession.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef V8_INSPECTOR_PUBLIC_V8INSPECTORSESSION_H_
-#define V8_INSPECTOR_PUBLIC_V8INSPECTORSESSION_H_
-
-#include "src/inspector/public/StringBuffer.h"
-#include "src/inspector/public/StringView.h"
-#include "src/inspector/public/protocol/Debugger.h"
-#include "src/inspector/public/protocol/Runtime.h"
-#include "src/inspector/public/protocol/Schema.h"
-
-#include <v8.h>
-
-namespace v8_inspector {
-
-class PLATFORM_EXPORT V8InspectorSession {
-public:
- virtual ~V8InspectorSession() { }
-
- // Cross-context inspectable values (DOM nodes in different worlds, etc.).
- class Inspectable {
- public:
- virtual v8::Local<v8::Value> get(v8::Local<v8::Context>) = 0;
- virtual ~Inspectable() { }
- };
- virtual void addInspectedObject(std::unique_ptr<Inspectable>) = 0;
-
- // Dispatching protocol messages.
- static bool canDispatchMethod(const StringView& method);
- virtual void dispatchProtocolMessage(const StringView& message) = 0;
- virtual std::unique_ptr<StringBuffer> stateJSON() = 0;
- virtual std::vector<std::unique_ptr<protocol::Schema::API::Domain>> supportedDomains() = 0;
-
- // Debugger actions.
- virtual void schedulePauseOnNextStatement(const StringView& breakReason, const StringView& breakDetails) = 0;
- virtual void cancelPauseOnNextStatement() = 0;
- virtual void breakProgram(const StringView& breakReason, const StringView& breakDetails) = 0;
- virtual void setSkipAllPauses(bool) = 0;
- virtual void resume() = 0;
- virtual void stepOver() = 0;
- virtual std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch>> searchInTextByLines(const StringView& text, const StringView& query, bool caseSensitive, bool isRegex) = 0;
-
- // Remote objects.
- virtual std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(v8::Local<v8::Context>, v8::Local<v8::Value>, const StringView& groupName) = 0;
- virtual bool unwrapObject(std::unique_ptr<StringBuffer>* error, const StringView& objectId, v8::Local<v8::Value>*, v8::Local<v8::Context>*, std::unique_ptr<StringBuffer>* objectGroup) = 0;
- virtual void releaseObjectGroup(const StringView&) = 0;
-};
-
-} // namespace v8_inspector
-
-#endif // V8_INSPECTOR_PUBLIC_V8INSPECTORSESSION_H_
« no previous file with comments | « src/inspector/public/V8InspectorClient.h ('k') | src/inspector/public/V8StackTrace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698