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

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

Issue 2289773002: 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, 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 #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 15 matching lines...) Expand all
26 // DevToolsExternalAgentProxy implementation. 26 // DevToolsExternalAgentProxy implementation.
27 void DispatchOnClientHost(const std::string& message) override; 27 void DispatchOnClientHost(const std::string& message) override;
28 void ConnectionClosed() override; 28 void ConnectionClosed() override;
29 29
30 // DevToolsAgentHostImpl implementation. 30 // DevToolsAgentHostImpl implementation.
31 void Attach() override; 31 void Attach() override;
32 void Detach() override; 32 void Detach() override;
33 bool DispatchProtocolMessage(const std::string& message) override; 33 bool DispatchProtocolMessage(const std::string& message) override;
34 34
35 // DevToolsAgentHost implementation 35 // DevToolsAgentHost implementation
36 std::string GetType() override; 36 Type GetType() override;
37 std::string GetTitle() override; 37 std::string GetTitle() override;
38 GURL GetURL() override; 38 GURL GetURL() override;
39 GURL GetFaviconURL() override;
40 bool Activate() override; 39 bool Activate() override;
41 bool Inspect() override;
42 void Reload() override;
43 bool Close() override; 40 bool Close() override;
44 41
45 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; 42 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_;
46 std::string type_;
47 std::string title_;
48 GURL url_;
49 }; 43 };
50 44
51 } // namespace content 45 } // namespace content
52 46
53 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ 47 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_manager_unittest.cc ('k') | content/browser/devtools/forwarding_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698