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

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

Issue 349033009: DevTools: Added service workers to chrome://inspect/#devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added GetOrCreateAllHosts Created 6 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DEVTOOLS_AGENT_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual std::string GetId() OVERRIDE; 48 virtual std::string GetId() OVERRIDE;
49 49
50 virtual RenderViewHost* GetRenderViewHost() OVERRIDE; 50 virtual RenderViewHost* GetRenderViewHost() OVERRIDE;
51 51
52 virtual void DisconnectRenderViewHost() OVERRIDE; 52 virtual void DisconnectRenderViewHost() OVERRIDE;
53 53
54 virtual void ConnectRenderViewHost(RenderViewHost* rvh) OVERRIDE; 54 virtual void ConnectRenderViewHost(RenderViewHost* rvh) OVERRIDE;
55 55
56 virtual bool IsWorker() const OVERRIDE; 56 virtual bool IsWorker() const OVERRIDE;
57 57
58 virtual GURL GetURL() OVERRIDE;
59
58 protected: 60 protected:
59 DevToolsAgentHostImpl(); 61 DevToolsAgentHostImpl();
60 virtual ~DevToolsAgentHostImpl(); 62 virtual ~DevToolsAgentHostImpl();
61 63
62 void NotifyCloseListener(); 64 void NotifyCloseListener();
63 65
64 private: 66 private:
65 CloseListener* close_listener_; 67 CloseListener* close_listener_;
66 const std::string id_; 68 const std::string id_;
67 }; 69 };
68 70
69 } // namespace content 71 } // namespace content
70 72
71 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 73 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698