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

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

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 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 #ifndef CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 22 matching lines...) Expand all
33 void Attach() override; 33 void Attach() override;
34 void Detach() override; 34 void Detach() override;
35 bool DispatchProtocolMessage(const std::string& message) override; 35 bool DispatchProtocolMessage(const std::string& message) override;
36 36
37 // DevToolsAgentHost implementation 37 // DevToolsAgentHost implementation
38 std::string GetType() override; 38 std::string GetType() override;
39 std::string GetTitle() override; 39 std::string GetTitle() override;
40 GURL GetURL() override; 40 GURL GetURL() override;
41 GURL GetFaviconURL() override; 41 GURL GetFaviconURL() override;
42 bool Activate() override; 42 bool Activate() override;
43 bool Inspect() override; 43 bool Inspect(BrowserContext* context) override;
44 void Reload() override; 44 void Reload() override;
45 bool Close() override; 45 bool Close() override;
46 46
47 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; 47 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_;
48 std::string type_; 48 std::string type_;
49 std::string title_; 49 std::string title_;
50 GURL url_; 50 GURL url_;
51 }; 51 };
52 52
53 } // namespace content 53 } // namespace content
54 54
55 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ 55 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698