summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorbzanotti <bzanotti@chromium.org>2015-05-26 10:40:38 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-26 17:41:11 +0000
commit2ea9490c373bdf90284814d57b694bae2dc1a948 (patch)
treeecc44725497fd33026e899ed243daf537b3c6136 /remoting
parentd621865988ad21c28cf0542a129444324c759935 (diff)
downloadchromium_src-2ea9490c373bdf90284814d57b694bae2dc1a948.zip
chromium_src-2ea9490c373bdf90284814d57b694bae2dc1a948.tar.gz
chromium_src-2ea9490c373bdf90284814d57b694bae2dc1a948.tar.bz2
Refactoring of GaiaAuthFetcher
CreateGaiaFetcher is systematically used in the same way. This CL changes the method into CreateAndStartGaiaFetcher that also starts the created fetcher. The dispatching of fetched requests is also uncoupled from the net::URLFetcher callback. This refactoring allows subclasses of GaiaAuthFetcher to stop depending on net::URLFetcher and use their own mechanism for network requests. This is achieved by simply overriding CreateAndStartGaiaFetcher and calling DispatchFetchedRequest directly. BUG= Review URL: https://codereview.chromium.org/1156913003 Cr-Commit-Position: refs/heads/master@{#331389}
Diffstat (limited to 'remoting')
0 files changed, 0 insertions, 0 deletions