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

Unified Diff: src/inspector/V8ConsoleAgentImpl.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/V8Console.cpp ('k') | src/inspector/V8ConsoleAgentImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/V8ConsoleAgentImpl.h
diff --git a/src/inspector/V8ConsoleAgentImpl.h b/src/inspector/V8ConsoleAgentImpl.h
deleted file mode 100644
index 37354d9d1eafd5933698a79646e29ccdc8b22d20..0000000000000000000000000000000000000000
--- a/src/inspector/V8ConsoleAgentImpl.h
+++ /dev/null
@@ -1,47 +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_V8CONSOLEAGENTIMPL_H_
-#define V8_INSPECTOR_V8CONSOLEAGENTIMPL_H_
-
-#include "src/inspector/Allocator.h"
-#include "src/inspector/protocol/Console.h"
-#include "src/inspector/protocol/Forward.h"
-
-namespace v8_inspector {
-
-class V8ConsoleMessage;
-class V8InspectorSessionImpl;
-
-using protocol::ErrorString;
-
-class V8ConsoleAgentImpl : public protocol::Console::Backend {
- V8_INSPECTOR_DISALLOW_COPY(V8ConsoleAgentImpl);
-public:
- V8ConsoleAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state);
- ~V8ConsoleAgentImpl() override;
-
- void enable(ErrorString*) override;
- void disable(ErrorString*) override;
- void clearMessages(ErrorString*) override;
-
- void restore();
- void messageAdded(V8ConsoleMessage*);
- void reset();
- bool enabled();
-
-private:
- void reportAllMessages();
- void reportMessage(V8ConsoleMessage*, bool generatePreview);
-
- V8InspectorSessionImpl* m_session;
- protocol::DictionaryValue* m_state;
- protocol::Console::Frontend m_frontend;
- bool m_enabled;
-};
-
-} // namespace v8_inspector
-
-
-#endif // V8_INSPECTOR_V8CONSOLEAGENTIMPL_H_
« no previous file with comments | « src/inspector/V8Console.cpp ('k') | src/inspector/V8ConsoleAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698