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

Unified Diff: content/browser/devtools/devtools_session.cc

Issue 2625223002: [DevTools] Dedicated frontend for debugging Node. (Closed)
Patch Set: test fix Created 3 years, 11 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 | « content/browser/devtools/devtools_session.h ('k') | content/browser/devtools/protocol/target_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_session.cc
diff --git a/content/browser/devtools/devtools_session.cc b/content/browser/devtools/devtools_session.cc
index c11aa30fd1111da98c308d01f9ea47ff2aab45b6..8783f1723c2ff77a19c1524491e513fe2315a34f 100644
--- a/content/browser/devtools/devtools_session.cc
+++ b/content/browser/devtools/devtools_session.cc
@@ -50,13 +50,12 @@ void DevToolsSession::SetFallThroughForNotFound(bool value) {
protocol::Response::Status DevToolsSession::Dispatch(
const std::string& message,
- bool offer_to_delegate,
int* call_id,
std::string* method) {
std::unique_ptr<base::Value> value = base::JSONReader::Read(message);
- DevToolsManagerDelegate* delegate = offer_to_delegate ?
- DevToolsManager::GetInstance()->delegate() : nullptr;
+ DevToolsManagerDelegate* delegate =
+ DevToolsManager::GetInstance()->delegate();
if (value && value->IsType(base::Value::Type::DICTIONARY) && delegate) {
std::unique_ptr<base::DictionaryValue> response(delegate->HandleCommand(
agent_host_,
« no previous file with comments | « content/browser/devtools/devtools_session.h ('k') | content/browser/devtools/protocol/target_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698