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

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

Issue 2361613002: DevTools: untangle device discovery request from the devtools android bridge. (Closed)
Patch Set: make device hosts profile-independent, plump browser context for inspect. Created 4 years, 3 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/forwarding_agent_host.h" 5 #include "content/browser/devtools/forwarding_agent_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/devtools/protocol/inspector_handler.h" 8 #include "content/browser/devtools/protocol/inspector_handler.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
55 55
56 GURL ForwardingAgentHost::GetFaviconURL() { 56 GURL ForwardingAgentHost::GetFaviconURL() {
57 return delegate_->GetFaviconURL(); 57 return delegate_->GetFaviconURL();
58 } 58 }
59 59
60 bool ForwardingAgentHost::Activate() { 60 bool ForwardingAgentHost::Activate() {
61 return delegate_->Activate(); 61 return delegate_->Activate();
62 } 62 }
63 63
64 bool ForwardingAgentHost::Inspect() { 64 bool ForwardingAgentHost::Inspect(BrowserContext* context) {
65 return delegate_->Inspect(); 65 return delegate_->Inspect(context);
66 } 66 }
67 67
68 void ForwardingAgentHost::Reload() { 68 void ForwardingAgentHost::Reload() {
69 delegate_->Reload(); 69 delegate_->Reload();
70 } 70 }
71 71
72 bool ForwardingAgentHost::Close() { 72 bool ForwardingAgentHost::Close() {
73 return delegate_->Close(); 73 return delegate_->Close();
74 } 74 }
75 75
76 } // content 76 } // content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698