| OLD | NEW |
| 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 "remoting/host/chromoting_host_context.h" | 5 #include "remoting/host/chromoting_host_context.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 } | 68 } |
| 69 | 69 |
| 70 base::MessageLoopProxy* ChromotingHostContext::io_message_loop() { | 70 base::MessageLoopProxy* ChromotingHostContext::io_message_loop() { |
| 71 return io_thread_.message_loop_proxy(); | 71 return io_thread_.message_loop_proxy(); |
| 72 } | 72 } |
| 73 | 73 |
| 74 base::MessageLoopProxy* ChromotingHostContext::file_message_loop() { | 74 base::MessageLoopProxy* ChromotingHostContext::file_message_loop() { |
| 75 return file_thread_.message_loop_proxy(); | 75 return file_thread_.message_loop_proxy(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 const scoped_refptr<URLRequestContextGetter>& | 78 const scoped_refptr<net::URLRequestContextGetter>& |
| 79 ChromotingHostContext::url_request_context_getter() { | 79 ChromotingHostContext::url_request_context_getter() { |
| 80 DCHECK(url_request_context_getter_.get()); | 80 DCHECK(url_request_context_getter_.get()); |
| 81 return url_request_context_getter_; | 81 return url_request_context_getter_; |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace remoting | 84 } // namespace remoting |
| OLD | NEW |