OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 switches::kProfilerTiming, | 1064 switches::kProfilerTiming, |
1065 switches::kRegisterPepperPlugins, | 1065 switches::kRegisterPepperPlugins, |
1066 switches::kRendererAssertTest, | 1066 switches::kRendererAssertTest, |
1067 switches::kRendererStartupDialog, | 1067 switches::kRendererStartupDialog, |
1068 switches::kShowPaintRects, | 1068 switches::kShowPaintRects, |
1069 switches::kSitePerProcess, | 1069 switches::kSitePerProcess, |
1070 switches::kStatsCollectionController, | 1070 switches::kStatsCollectionController, |
1071 switches::kTestSandbox, | 1071 switches::kTestSandbox, |
1072 switches::kTouchEvents, | 1072 switches::kTouchEvents, |
1073 switches::kTraceToConsole, | 1073 switches::kTraceToConsole, |
| 1074 switches::kUseDiscardableMemory, |
1074 // This flag needs to be propagated to the renderer process for | 1075 // This flag needs to be propagated to the renderer process for |
1075 // --in-process-webgl. | 1076 // --in-process-webgl. |
1076 switches::kUseGL, | 1077 switches::kUseGL, |
1077 switches::kUseMobileUserAgent, | 1078 switches::kUseMobileUserAgent, |
1078 switches::kUserAgent, | 1079 switches::kUserAgent, |
1079 switches::kV, | 1080 switches::kV, |
1080 switches::kVideoThreads, | 1081 switches::kVideoThreads, |
1081 switches::kVModule, | 1082 switches::kVModule, |
1082 switches::kWebCoreLogChannels, | 1083 switches::kWebCoreLogChannels, |
1083 switches::kWebGLCommandBufferSizeKb, | 1084 switches::kWebGLCommandBufferSizeKb, |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1962 #if defined(ENABLE_WEBRTC) | 1963 #if defined(ENABLE_WEBRTC) |
1963 void RenderProcessHostImpl::SendAecDumpFileToRenderer( | 1964 void RenderProcessHostImpl::SendAecDumpFileToRenderer( |
1964 IPC::PlatformFileForTransit file_for_transit) { | 1965 IPC::PlatformFileForTransit file_for_transit) { |
1965 if (file_for_transit == IPC::InvalidPlatformFileForTransit()) | 1966 if (file_for_transit == IPC::InvalidPlatformFileForTransit()) |
1966 return; | 1967 return; |
1967 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); | 1968 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); |
1968 } | 1969 } |
1969 #endif | 1970 #endif |
1970 | 1971 |
1971 } // namespace content | 1972 } // namespace content |
OLD | NEW |