| Index: net/proxy/proxy_script_fetcher.h
|
| ===================================================================
|
| --- net/proxy/proxy_script_fetcher.h (revision 26789)
|
| +++ net/proxy/proxy_script_fetcher.h (working copy)
|
| @@ -26,9 +26,9 @@
|
|
|
| // Downloads the given PAC URL, and invokes |callback| on completion.
|
| // On success |callback| is executed with a result code of OK, and a
|
| - // string of the response bytes. On failure, the result bytes is an empty
|
| - // string, and the result code is a network error. Some special network
|
| - // errors that may occur are:
|
| + // string of the response bytes (as UTF8). On failure, the result bytes is
|
| + // an empty string, and the result code is a network error. Some special
|
| + // network errors that may occur are:
|
| //
|
| // ERR_TIMED_OUT -- the fetch took too long to complete.
|
| // ERR_FILE_TOO_BIG -- the response's body was too large.
|
| @@ -39,7 +39,7 @@
|
| // deleting |this|), then no callback is invoked.
|
| //
|
| // Only one fetch is allowed to be outstanding at a time.
|
| - virtual int Fetch(const GURL& url, std::string* bytes,
|
| + virtual int Fetch(const GURL& url, std::string* utf8_bytes,
|
| CompletionCallback* callback) = 0;
|
|
|
| // Aborts the in-progress fetch (if any).
|
|
|