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

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: Fix review comments 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..07343d1680bebd762acc83e7b7115a000be39fc9 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->GetDefaultRequestContextForMedia()),
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->GetDefaultRequestContextForMedia()),
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.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698