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

Side by Side Diff: chrome/browser/net/url_request_context_getter.h

Issue 258008: Move initialization of ChromeURLRequestContexts to the IO thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync again, just in case Created 11 years, 2 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_NET_URL_REQUEST_CONTEXT_GETTER_H_
6 #define CHROME_BROWSER_NET_URL_REQUEST_CONTEXT_GETTER_H_
7
8 #include "base/ref_counted.h"
9
10 namespace net {
11 class CookieStore;
12 }
13
14 class URLRequestContext;
15
16 // Interface for retrieving an URLRequestContext.
17 class URLRequestContextGetter
18 : public base::RefCountedThreadSafe<URLRequestContextGetter> {
19 public:
20 virtual ~URLRequestContextGetter() {}
21
22 virtual URLRequestContext* GetURLRequestContext() = 0;
23
24 // Defaults to GetURLRequestContext()->cookie_store(), but
25 // implementations can override it.
26 virtual net::CookieStore* GetCookieStore();
27 };
28
29 #endif // CHROME_BROWSER_NET_URL_REQUEST_CONTEXT_GETTER_H_
30
OLDNEW
« no previous file with comments | « chrome/browser/net/url_fetcher_unittest.cc ('k') | chrome/browser/net/url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698