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

Unified Diff: chrome/browser/bitmap_fetcher.h

Issue 263563003: Add referrer & load flag support to BitmapFetcher class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove temp comments Created 6 years, 8 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 | « no previous file | chrome/browser/bitmap_fetcher.cc » ('j') | chrome/browser/bitmap_fetcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bitmap_fetcher.h
diff --git a/chrome/browser/bitmap_fetcher.h b/chrome/browser/bitmap_fetcher.h
index b468c038b8dc0162a32d1146d7da0fd2c545dfe6..141e7549b3e478df14d7fc1dd7d3655ec263513f 100644
--- a/chrome/browser/bitmap_fetcher.h
+++ b/chrome/browser/bitmap_fetcher.h
@@ -8,10 +8,15 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/bitmap_fetcher_delegate.h"
#include "chrome/browser/image_decoder.h"
+#include "content/public/common/referrer.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "url/gurl.h"
+namespace content {
+class BrowserContext;
+} // namespace content
+
namespace net {
class URLFetcher;
class URLRequestContextGetter;
@@ -35,6 +40,10 @@ class BitmapFetcher : public net::URLFetcherDelegate,
// already in progress.
void Start(net::URLRequestContextGetter* request_context);
+ void Start(net::URLRequestContextGetter* request_context,
+ const content::Referrer& referrer,
+ int load_flags);
+
// Methods inherited from URLFetcherDelegate
// This will be called when the URL has been fetched, successfully or not.
« no previous file with comments | « no previous file | chrome/browser/bitmap_fetcher.cc » ('j') | chrome/browser/bitmap_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698