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

Unified Diff: net/proxy/proxy_script_fetcher_unittest.cc

Issue 160510: Better match IE's proxy settings.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix merge conflict Created 11 years, 4 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 | « net/proxy/proxy_script_fetcher.cc ('k') | net/proxy/proxy_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_script_fetcher_unittest.cc
===================================================================
--- net/proxy/proxy_script_fetcher_unittest.cc (revision 22399)
+++ net/proxy/proxy_script_fetcher_unittest.cc (working copy)
@@ -62,7 +62,8 @@
// Starts fetching the script at |url|. Upon completion |event_| will be
// signalled, and the bytes read will have been written to |fetch_result_|.
void Start(const GURL& url) {
- fetcher_->Fetch(url, &fetch_result_->bytes, &callback_);
+ int rv = fetcher_->Fetch(url, &fetch_result_->bytes, &callback_);
+ EXPECT_EQ(net::ERR_IO_PENDING, rv);
}
void OnFetchCompletion(int result) {
« no previous file with comments | « net/proxy/proxy_script_fetcher.cc ('k') | net/proxy/proxy_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698