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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1036823003: Fix to respect --explicitly-allowed-ports command line option-Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | content/child/blink_platform_impl.h » ('j') | content/child/blink_platform_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index c32da90cff578382833bfbd79524e190e3786065..849e006c2b7f16d9e96aa016caf04c76f710d6c4 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -34,6 +34,7 @@
#include "base/trace_event/trace_event.h"
#include "base/tracked_objects.h"
#include "cc/base/switches.h"
+#include "chrome/common/chrome_switches.h"
Paritosh Kumar 2015/03/26 09:25:34 This violates checdeps rule. Illegal Include.
tyoshino (SeeGerritForStatus) 2015/03/30 06:41:01 Yea. It violates the dependency rule. Maybe we nee
eroman 2015/03/30 19:40:02 I believe what you want is content_switches.h
tyoshino (SeeGerritForStatus) 2015/03/31 04:45:41 Do you mean adding a new flag definition to conten
Paritosh Kumar 2015/04/01 13:38:05 Adding kExplicitlyAllowedPorts flag definition to
#include "content/browser/appcache/appcache_dispatcher_host.h"
#include "content/browser/appcache/chrome_appcache_service.h"
#include "content/browser/bad_message.h"
@@ -1305,6 +1306,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kEnableVtune,
switches::kEnableWebGLDraftExtensions,
switches::kEnableWebGLImageChromium,
+ switches::kExplicitlyAllowedPorts,
switches::kForceDeviceScaleFactor,
switches::kForceDisplayList2dCanvas,
switches::kFullMemoryCrashReport,
« no previous file with comments | « no previous file | content/child/blink_platform_impl.h » ('j') | content/child/blink_platform_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698