summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bitmap_fetcher.h
diff options
context:
space:
mode:
authornoms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 10:33:12 +0000
committernoms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 10:33:12 +0000
commit8b69a71c3b96b056bb8fe819a46a8f109f60f1af (patch)
tree8d7dada1a0a51dbb363a0aafb2213718c7de6ce2 /chrome/browser/bitmap_fetcher.h
parent60411bcd5265a504157dda36c02a0adcf7bbd2d8 (diff)
downloadchromium_src-8b69a71c3b96b056bb8fe819a46a8f109f60f1af.zip
chromium_src-8b69a71c3b96b056bb8fe819a46a8f109f60f1af.tar.gz
chromium_src-8b69a71c3b96b056bb8fe819a46a8f109f60f1af.tar.bz2
Remove BitmapFetcher's dependency on Profile
BitmapFetcher just needs a RequestContext and not a whole profile. This is needed by https://codereview.chromium.org/222313005/, where we don't want to add an implicit Profile dependency to the ProfileInfoCache. BUG=305048 TEST=Existing tests. Review URL: https://codereview.chromium.org/253623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bitmap_fetcher.h')
-rw-r--r--chrome/browser/bitmap_fetcher.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/bitmap_fetcher.h b/chrome/browser/bitmap_fetcher.h
index 739c8ec..b468c03 100644
--- a/chrome/browser/bitmap_fetcher.h
+++ b/chrome/browser/bitmap_fetcher.h
@@ -14,10 +14,9 @@
namespace net {
class URLFetcher;
+class URLRequestContextGetter;
} // namespace net
-class Profile;
-
namespace chrome {
// Asynchrounously fetches an image from the given URL and returns the
@@ -34,7 +33,7 @@ class BitmapFetcher : public net::URLFetcherDelegate,
// asynchronously when done. Start may be called more than once in some
// cases. If so, subsequent starts will be ignored since the operation is
// already in progress.
- void Start(Profile* profile);
+ void Start(net::URLRequestContextGetter* request_context);
// Methods inherited from URLFetcherDelegate