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

Unified Diff: content/shell/browser/shell_browser_context.cc

Issue 631203003: Fix bug: AppShell: CHECK failure in PeerConnection init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: content/shell/browser/shell_browser_context.cc
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc
index 7a99e8d7888cb12cf589bd03c3da5ceec59263de..c049097704abb6dd102e6c73421948df1c96b6a1 100644
--- a/content/shell/browser/shell_browser_context.cc
+++ b/content/shell/browser/shell_browser_context.cc
@@ -129,6 +129,17 @@ DownloadManagerDelegate* ShellBrowserContext::GetDownloadManagerDelegate() {
return download_manager_delegate_.get();
}
+void ShellBrowserContext::set_url_request_context_getter(
Xi Han 2014/10/07 19:29:53 Change it to a regular inline setter function and
+ ShellURLRequestContextGetter* getter) {
+ url_request_getter_ = getter;
+ resource_context_->set_url_request_context_getter(url_request_getter_.get());
+}
+
+ShellURLRequestContextGetter*
+ShellBrowserContext::get_url_request_context_getter() {
Xi Han 2014/10/07 19:29:53 Change it to a regular inline getter function and
+ return url_request_getter_.get();
+}
+
net::URLRequestContextGetter* ShellBrowserContext::GetRequestContext() {
return GetDefaultStoragePartition(this)->GetURLRequestContext();
}

Powered by Google App Engine
This is Rietveld 408576698