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

Unified Diff: remoting/host/chromoting_host_context.h

Issue 10160013: Implement HostPortAllocator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/chromoting_host_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_context.h
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h
index c4d557ee28c12ba81ad1b48f59a83795c2605467..7476986ad605ec9efba49d996a015103cf4e5086 100644
--- a/remoting/host/chromoting_host_context.h
+++ b/remoting/host/chromoting_host_context.h
@@ -12,9 +12,11 @@
#include "base/threading/thread.h"
#include "remoting/jingle_glue/jingle_thread.h"
-namespace remoting {
-
+namespace net {
class URLRequestContextGetter;
+} // namespace net
+
+namespace remoting {
// A class that manages threads and running context for the chromoting host
// process. This class is virtual only for testing purposes (see below).
@@ -40,7 +42,8 @@ class ChromotingHostContext {
virtual base::MessageLoopProxy* ui_message_loop();
virtual base::MessageLoopProxy* io_message_loop();
virtual base::MessageLoopProxy* file_message_loop();
- const scoped_refptr<URLRequestContextGetter>& url_request_context_getter();
+ const scoped_refptr<net::URLRequestContextGetter>&
+ url_request_context_getter();
private:
FRIEND_TEST_ALL_PREFIXES(ChromotingHostContextTest, StartAndStop);
@@ -67,7 +70,7 @@ class ChromotingHostContext {
scoped_refptr<base::MessageLoopProxy> ui_message_loop_;
- scoped_refptr<URLRequestContextGetter> url_request_context_getter_;
+ scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext);
};
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/chromoting_host_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698