Chromium Code Reviews| Index: chrome/browser/android/banners/app_banner_manager.cc |
| diff --git a/chrome/browser/android/banners/app_banner_manager.cc b/chrome/browser/android/banners/app_banner_manager.cc |
| index b2a8377b468a7ba77dec114e09fee6bc906b7d68..d0e41cc748328898697ee25534ef975531179e40 100644 |
| --- a/chrome/browser/android/banners/app_banner_manager.cc |
| +++ b/chrome/browser/android/banners/app_banner_manager.cc |
| @@ -19,6 +19,7 @@ |
| #include "content/public/browser/web_contents.h" |
| #include "content/public/common/frame_navigate_params.h" |
| #include "jni/AppBannerManager_jni.h" |
| +#include "net/base/load_flags.h" |
| #include "ui/gfx/android/java_bitmap.h" |
| using base::android::ConvertJavaStringToUTF8; |
| @@ -134,7 +135,11 @@ bool AppBannerManager::FetchIcon(JNIEnv* env, |
| Profile* profile = |
| Profile::FromBrowserContext(web_contents()->GetBrowserContext()); |
| fetcher_.reset(new chrome::BitmapFetcher(GURL(image_url), this)); |
| - fetcher_.get()->Start(profile->GetRequestContext()); |
| + fetcher_.get()->Start( |
| + profile->GetRequestContext(), |
| + "", |
|
sky
2014/05/06 15:24:20
""->std::string()
Kibeom Kim (inactive)
2014/05/06 18:07:14
Done.
|
| + net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE, |
| + net::LOAD_NORMAL); |
| return true; |
| } |