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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 888843005: Closing a guest session clears all browsing history. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle tests Created 5 years, 10 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
« chrome/browser/ui/browser.cc ('K') | « chrome/browser/ui/browser_list.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index e2870aa1c0a23964ec95bf4248c4182f1eceb261..5a76e5606a9f04ebb2cc4bf4014e41d86c2a2007 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -845,7 +845,9 @@ net::URLRequestContextGetter* TestingProfile::GetRequestContextForRenderProcess(
}
net::URLRequestContextGetter* TestingProfile::GetMediaRequestContext() {
- return NULL;
+ // We don't test the media context here yet, so returning the same dummy
+ // context is sufficient for now.
+ return GetRequestContext();
Peter Kasting 2015/02/10 21:43:36 Does this change really belong in this CL?
Mike Lerman 2015/02/10 21:53:32 If I don't add it here then the BrowserCommandCont
}
net::URLRequestContextGetter*
« chrome/browser/ui/browser.cc ('K') | « chrome/browser/ui/browser_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698