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

Unified Diff: chromecast/browser/cast_browser_process.cc

Issue 2647323010: [Chromecast] Add proxy server support to chromecast (Closed)
Patch Set: fix deps Created 3 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
Index: chromecast/browser/cast_browser_process.cc
diff --git a/chromecast/browser/cast_browser_process.cc b/chromecast/browser/cast_browser_process.cc
index cf7101aab315a05cd2c52005d003c15de9ff24af..42d5645fc263a991355030baf4bff5efacd4bb1a 100644
--- a/chromecast/browser/cast_browser_process.cc
+++ b/chromecast/browser/cast_browser_process.cc
@@ -16,6 +16,9 @@
#include "chromecast/net/connectivity_checker.h"
#include "chromecast/service/cast_service.h"
#include "components/prefs/pref_service.h"
+#include "components/proxy_config/pref_proxy_config_tracker_impl.h"
+#include "content/public/browser/browser_thread.h"
+#include "net/proxy/proxy_service.h"
halliwell 2017/02/08 00:07:06 unused? think you can revert this whole file now?
almasrymina 2017/02/08 00:48:04 Done.
#if defined(OS_ANDROID)
#include "components/crash/content/browser/crash_dump_manager_android.h"
@@ -47,6 +50,7 @@ CastBrowserProcess::CastBrowserProcess()
CastBrowserProcess::~CastBrowserProcess() {
DCHECK_EQ(g_instance, this);
+
if (pref_service_)
pref_service_->CommitPendingWrite();
g_instance = NULL;

Powered by Google App Engine
This is Rietveld 408576698