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

Side by Side Diff: chrome/browser/debugger/devtools_protocol_handler.h

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_DEBUGGER_DEVTOOLS_PROTOCOL_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_PROTOCOL_HANDLER_H_
6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_PROTOCOL_HANDLER_H_ 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_PROTOCOL_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // ListenSocket::ListenSocketDelegate interface 63 // ListenSocket::ListenSocketDelegate interface
64 virtual void DidAccept(ListenSocket *server, ListenSocket *connection); 64 virtual void DidAccept(ListenSocket *server, ListenSocket *connection);
65 virtual void DidRead(ListenSocket *connection, const std::string& data); 65 virtual void DidRead(ListenSocket *connection, const std::string& data);
66 virtual void DidClose(ListenSocket *sock); 66 virtual void DidClose(ListenSocket *sock);
67 67
68 private: 68 private:
69 void Init(); 69 void Init();
70 void Teardown(); 70 void Teardown();
71 int port_; 71 int port_;
72 MessageLoop* ui_loop_;
73 MessageLoop* io_loop_;
74 ToolToListenerMap tool_to_listener_map_; 72 ToolToListenerMap tool_to_listener_map_;
75 scoped_refptr<ListenSocket> connection_; 73 scoped_refptr<ListenSocket> connection_;
76 scoped_refptr<DevToolsRemoteListenSocket> server_; 74 scoped_refptr<DevToolsRemoteListenSocket> server_;
77 scoped_ptr<InspectableTabProxy> inspectable_tab_proxy_; 75 scoped_ptr<InspectableTabProxy> inspectable_tab_proxy_;
78 DISALLOW_COPY_AND_ASSIGN(DevToolsProtocolHandler); 76 DISALLOW_COPY_AND_ASSIGN(DevToolsProtocolHandler);
79 }; 77 };
80 78
81 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_PROTOCOL_HANDLER_H_ 79 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_PROTOCOL_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_test_helper.h ('k') | chrome/browser/debugger/devtools_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698