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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.cc

Issue 10836305: Ensure that isolated apps use the right cookies for media requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial version Created 8 years, 4 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
Index: chrome/browser/browsing_data/browsing_data_remover.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index 576f3d1eb0484cae19aef63f60054ec158f6bf2e..cb7c5088a3ffe291331316781baf2da90231d89f 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -112,7 +112,7 @@ BrowsingDataRemover::BrowsingDataRemover(Profile* profile,
next_cache_state_(STATE_NONE),
cache_(NULL),
main_context_getter_(profile->GetRequestContext()),
- media_context_getter_(profile->GetRequestContextForMedia()),
+ media_context_getter_(profile->GetRequestContextForMedia(-1)),
awong 2012/08/17 18:23:16 Ick...on the magic -1 everywhere. I had been usin
Charlie Reis 2012/08/17 21:04:38 I've switched it to use a GetDefaultRequestContext
deauthorize_content_licenses_request_id_(0),
waiting_for_clear_cache_(false),
waiting_for_clear_nacl_cache_(false),
@@ -148,7 +148,7 @@ BrowsingDataRemover::BrowsingDataRemover(Profile* profile,
next_cache_state_(STATE_NONE),
cache_(NULL),
main_context_getter_(profile->GetRequestContext()),
- media_context_getter_(profile->GetRequestContextForMedia()),
+ media_context_getter_(profile->GetRequestContextForMedia(-1)),
deauthorize_content_licenses_request_id_(0),
waiting_for_clear_cache_(false),
waiting_for_clear_nacl_cache_(false),
« no previous file with comments | « no previous file | chrome/browser/extensions/isolated_app_browsertest.cc » ('j') | chrome/browser/profiles/profile_impl_io_data.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698