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

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

Issue 1029523002: DevTools: Enable network emulation on Service Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/browser/devtools/devtools_agent_host_impl.h" 10 #include "content/browser/devtools/devtools_agent_host_impl.h"
(...skipping 11 matching lines...) Expand all
22 private: 22 private:
23 ~ForwardingAgentHost() override; 23 ~ForwardingAgentHost() override;
24 24
25 // DevToolsExternalAgentProxy implementation. 25 // DevToolsExternalAgentProxy implementation.
26 void DispatchOnClientHost(const std::string& message) override; 26 void DispatchOnClientHost(const std::string& message) override;
27 void ConnectionClosed() override; 27 void ConnectionClosed() override;
28 28
29 // DevToolsAgentHostImpl implementation. 29 // DevToolsAgentHostImpl implementation.
30 void Attach() override; 30 void Attach() override;
31 void Detach() override; 31 void Detach() override;
32 void DispatchProtocolMessage(const std::string& message) override; 32 bool DispatchProtocolMessage(const std::string& message) override;
33 33
34 // DevToolsAgentHost implementation 34 // DevToolsAgentHost implementation
35 Type GetType() override; 35 Type GetType() override;
36 std::string GetTitle() override; 36 std::string GetTitle() override;
37 GURL GetURL() override; 37 GURL GetURL() override;
38 bool Activate() override; 38 bool Activate() override;
39 bool Close() override; 39 bool Close() override;
40 40
41 scoped_ptr<DevToolsExternalAgentProxyDelegate> delegate_; 41 scoped_ptr<DevToolsExternalAgentProxyDelegate> delegate_;
42 }; 42 };
43 43
44 } // namespace content 44 } // namespace content
45 45
46 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ 46 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | content/browser/devtools/forwarding_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698