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

Unified Diff: content/browser/devtools/protocol/system_info_handler.cc

Issue 2590293003: [DevTools] Rework DevToolsSession interaction with domain handlers. (Closed)
Patch Set: includes Created 4 years 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
Index: content/browser/devtools/protocol/system_info_handler.cc
diff --git a/content/browser/devtools/protocol/system_info_handler.cc b/content/browser/devtools/protocol/system_info_handler.cc
index 8ad8b94a180fcc42bf0daa5259829e30f082bd68..f0abfc1a20d72b7170344dfe5b6dfcf9b09e0a2c 100644
--- a/content/browser/devtools/protocol/system_info_handler.cc
+++ b/content/browser/devtools/protocol/system_info_handler.cc
@@ -174,7 +174,8 @@ class SystemInfoHandlerGpuObserver : public content::GpuDataManagerObserver {
base::WeakPtrFactory<SystemInfoHandlerGpuObserver> weak_factory_;
};
-SystemInfoHandler::SystemInfoHandler() {
+SystemInfoHandler::SystemInfoHandler()
+ : DevToolsDomainHandler(SystemInfo::Metainfo::domainName) {
}
SystemInfoHandler::~SystemInfoHandler() {
@@ -184,10 +185,6 @@ void SystemInfoHandler::Wire(UberDispatcher* dispatcher) {
SystemInfo::Dispatcher::wire(dispatcher, this);
}
-Response SystemInfoHandler::Disable() {
- return Response::OK();
-}
-
void SystemInfoHandler::GetInfo(
std::unique_ptr<GetInfoCallback> callback) {
std::string reason;
« no previous file with comments | « content/browser/devtools/protocol/system_info_handler.h ('k') | content/browser/devtools/protocol/target_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698