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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h

Issue 2468233003: [DevTools] Migrate Accessibility, Log, Worker to new style (Closed)
Patch Set: addressed comments Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/inspector/InspectorLogAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
index af556bb1dc1bcdf508da45422100b93247448ea0..718706f50ac1654d20babb8e7219c25482189067 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorBaseAgent.h
@@ -42,7 +42,6 @@ namespace blink {
class LocalFrame;
-using protocol::ErrorString;
using protocol::Maybe;
using protocol::Response;
@@ -86,8 +85,10 @@ class InspectorBaseAgent : public InspectorAgent,
}
}
+ Response disable() override { return Response::OK(); }
+
void dispose() override {
- DomainMetainfo::BackendClass::disableMe(this);
+ disable();
m_frontend.reset();
m_state = nullptr;
m_instrumentingAgents = nullptr;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorLogAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698