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

Side by Side Diff: content/public/browser/devtools_manager_delegate.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, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/public/browser/devtools_agent_host.h" 5 #include "content/public/browser/devtools_agent_host.h"
6 #include "content/public/browser/devtools_manager_delegate.h" 6 #include "content/public/browser/devtools_manager_delegate.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 void DevToolsManagerDelegate::Inspect(DevToolsAgentHost* agent_host) { 10 void DevToolsManagerDelegate::Inspect(DevToolsAgentHost* agent_host,
11 BrowserContext* context) {
11 } 12 }
12 13
13 void DevToolsManagerDelegate::DevToolsAgentStateChanged( 14 void DevToolsManagerDelegate::DevToolsAgentStateChanged(
14 DevToolsAgentHost* agent_host, bool attached) { 15 DevToolsAgentHost* agent_host, bool attached) {
15 } 16 }
16 17
17 std::string DevToolsManagerDelegate::GetTargetType(RenderFrameHost* host) { 18 std::string DevToolsManagerDelegate::GetTargetType(RenderFrameHost* host) {
18 return DevToolsAgentHost::kTypePage; 19 return DevToolsAgentHost::kTypePage;
19 } 20 }
20 21
(...skipping 28 matching lines...) Expand all
49 50
50 std::string DevToolsManagerDelegate::GetFrontendResource( 51 std::string DevToolsManagerDelegate::GetFrontendResource(
51 const std::string& path) { 52 const std::string& path) {
52 return std::string(); 53 return std::string();
53 } 54 }
54 55
55 DevToolsManagerDelegate::~DevToolsManagerDelegate() { 56 DevToolsManagerDelegate::~DevToolsManagerDelegate() {
56 } 57 }
57 58
58 } // namespace content 59 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698