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

Side by Side Diff: net/proxy/proxy_script_fetcher.h

Issue 6338002: net: Remove typedef net::URLRequestContext URLRequestContext; (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for real Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // ProxyScriptFetcher is an async interface for fetching a proxy auto config 5 // ProxyScriptFetcher is an async interface for fetching a proxy auto config
6 // script. It is specific to fetching a PAC script; enforces timeout, max-size, 6 // script. It is specific to fetching a PAC script; enforces timeout, max-size,
7 // status code. 7 // status code.
8 8
9 #ifndef NET_PROXY_PROXY_SCRIPT_FETCHER_H_ 9 #ifndef NET_PROXY_PROXY_SCRIPT_FETCHER_H_
10 #define NET_PROXY_PROXY_SCRIPT_FETCHER_H_ 10 #define NET_PROXY_PROXY_SCRIPT_FETCHER_H_
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // 42 //
43 // Only one fetch is allowed to be outstanding at a time. 43 // Only one fetch is allowed to be outstanding at a time.
44 virtual int Fetch(const GURL& url, string16* utf16_text, 44 virtual int Fetch(const GURL& url, string16* utf16_text,
45 CompletionCallback* callback) = 0; 45 CompletionCallback* callback) = 0;
46 46
47 // Aborts the in-progress fetch (if any). 47 // Aborts the in-progress fetch (if any).
48 virtual void Cancel() = 0; 48 virtual void Cancel() = 0;
49 49
50 // Returns the request context that this fetcher uses to issue downloads, 50 // Returns the request context that this fetcher uses to issue downloads,
51 // or NULL. 51 // or NULL.
52 virtual URLRequestContext* GetRequestContext() = 0; 52 virtual net::URLRequestContext* GetRequestContext() = 0;
wtc 2011/01/15 17:54:23 Undo this change (already in the 'net' namespace).
53 }; 53 };
54 54
55 } // namespace net 55 } // namespace net
56 56
57 #endif // NET_PROXY_PROXY_SCRIPT_FETCHER_H_ 57 #endif // NET_PROXY_PROXY_SCRIPT_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698