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

Side by Side Diff: content/browser/devtools/devtools_browser_target.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 #include "content/browser/devtools/devtools_browser_target.h" 5 #include "content/browser/devtools/devtools_browser_target.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop/message_loop_proxy.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "net/server/http_server.h" 13 #include "net/server/http_server.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 DevToolsBrowserTarget::DevToolsBrowserTarget( 17 DevToolsBrowserTarget::DevToolsBrowserTarget(
18 base::MessageLoopProxy* message_loop_proxy, 18 base::MessageLoopProxy* message_loop_proxy,
19 net::HttpServer* http_server, 19 net::HttpServer* http_server,
20 int connection_id) 20 int connection_id)
21 : message_loop_proxy_(message_loop_proxy), 21 : message_loop_proxy_(message_loop_proxy),
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void DevToolsBrowserTarget::OnNotification(const std::string& message) { 57 void DevToolsBrowserTarget::OnNotification(const std::string& message) {
58 message_loop_proxy_->PostTask( 58 message_loop_proxy_->PostTask(
59 FROM_HERE, 59 FROM_HERE,
60 base::Bind(&net::HttpServer::SendOverWebSocket, 60 base::Bind(&net::HttpServer::SendOverWebSocket,
61 http_server_, 61 http_server_,
62 connection_id_, 62 connection_id_,
63 message)); 63 message));
64 } 64 }
65 65
66 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_thread_unittest.cc ('k') | content/browser/devtools/devtools_http_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698