diff options
author | sergeyu <sergeyu@chromium.org> | 2016-02-11 12:58:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-11 21:00:09 +0000 |
commit | 9b3d516c34b2ffe9ea4b4c40102dd14eb8f04a3f (patch) | |
tree | 8e8c3ee2bc588049e78741717349602b1924cba0 /remoting/remoting_nacl.gyp | |
parent | 53c91f2ffde1c62ad55ad4acb6101b60a647640e (diff) | |
download | chromium_src-9b3d516c34b2ffe9ea4b4c40102dd14eb8f04a3f.zip chromium_src-9b3d516c34b2ffe9ea4b4c40102dd14eb8f04a3f.tar.gz chromium_src-9b3d516c34b2ffe9ea4b4c40102dd14eb8f04a3f.tar.bz2 |
Add remoting::UrlRequest interface with 2 implementations
PepperPortAllocator and ChromiumPortAllocator are largely the same but
use different APIs to sent HTTP requests to allocate relay session.
Specifically they use pp::URLLoader and net::URLFetcher respectively.
This CL adds an abstract interface for URL request with two
implementations:
- PepperUrlRequest - to be used in the plugin,
- ChromiumUrlRequest - to be used everywhere else.
BUG=577954
Review URL: https://codereview.chromium.org/1679023009
Cr-Commit-Position: refs/heads/master@{#374975}
Diffstat (limited to 'remoting/remoting_nacl.gyp')
-rw-r--r-- | remoting/remoting_nacl.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/remoting_nacl.gyp b/remoting/remoting_nacl.gyp index 3c5a284..dc909f4 100644 --- a/remoting/remoting_nacl.gyp +++ b/remoting/remoting_nacl.gyp @@ -122,6 +122,7 @@ '<@(remoting_signaling_sources)', ], 'sources!': [ + 'base/chromium_url_request.cc', 'base/url_request_context_getter.cc', ], |