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

Side by Side Diff: content/browser/devtools/browser_devtools_agent_host.cc

Issue 2277473007: Revert of DevTools: merge devtools target with devtools host, part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/devtools/browser_devtools_agent_host.h" 5 #include "content/browser/devtools/browser_devtools_agent_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/devtools/devtools_protocol_handler.h" 8 #include "content/browser/devtools/devtools_protocol_handler.h"
9 #include "content/browser/devtools/protocol/browser_handler.h" 9 #include "content/browser/devtools/protocol/browser_handler.h"
10 #include "content/browser/devtools/protocol/io_handler.h" 10 #include "content/browser/devtools/protocol/io_handler.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 BrowserDevToolsAgentHost::~BrowserDevToolsAgentHost() { 49 BrowserDevToolsAgentHost::~BrowserDevToolsAgentHost() {
50 } 50 }
51 51
52 void BrowserDevToolsAgentHost::Attach() { 52 void BrowserDevToolsAgentHost::Attach() {
53 } 53 }
54 54
55 void BrowserDevToolsAgentHost::Detach() { 55 void BrowserDevToolsAgentHost::Detach() {
56 } 56 }
57 57
58 std::string BrowserDevToolsAgentHost::GetType() { 58 DevToolsAgentHost::Type BrowserDevToolsAgentHost::GetType() {
59 return kTypeBrowser; 59 return TYPE_BROWSER;
60 } 60 }
61 61
62 std::string BrowserDevToolsAgentHost::GetTitle() { 62 std::string BrowserDevToolsAgentHost::GetTitle() {
63 return ""; 63 return "";
64 } 64 }
65 65
66 GURL BrowserDevToolsAgentHost::GetURL() { 66 GURL BrowserDevToolsAgentHost::GetURL() {
67 return GURL(); 67 return GURL();
68 } 68 }
69 69
70 bool BrowserDevToolsAgentHost::Activate() { 70 bool BrowserDevToolsAgentHost::Activate() {
71 return false; 71 return false;
72 } 72 }
73 73
74 bool BrowserDevToolsAgentHost::Inspect() {
75 return false;
76 }
77
78 bool BrowserDevToolsAgentHost::Close() { 74 bool BrowserDevToolsAgentHost::Close() {
79 return false; 75 return false;
80 } 76 }
81 77
82 void BrowserDevToolsAgentHost::Reload() {
83 }
84
85 bool BrowserDevToolsAgentHost::DispatchProtocolMessage( 78 bool BrowserDevToolsAgentHost::DispatchProtocolMessage(
86 const std::string& message) { 79 const std::string& message) {
87 protocol_handler_->HandleMessage(session_id(), message); 80 protocol_handler_->HandleMessage(session_id(), message);
88 return true; 81 return true;
89 } 82 }
90 83
91 } // content 84 } // content
OLDNEW
« no previous file with comments | « content/browser/devtools/browser_devtools_agent_host.h ('k') | content/browser/devtools/devtools_agent_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698