| 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 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 switches::kDisable3DAPIs, | 1186 switches::kDisable3DAPIs, |
| 1187 switches::kDisableAcceleratedJpegDecoding, | 1187 switches::kDisableAcceleratedJpegDecoding, |
| 1188 switches::kDisableAcceleratedVideoDecode, | 1188 switches::kDisableAcceleratedVideoDecode, |
| 1189 switches::kDisableBlinkScheduler, | 1189 switches::kDisableBlinkScheduler, |
| 1190 switches::kDisableBreakpad, | 1190 switches::kDisableBreakpad, |
| 1191 switches::kDisablePreferCompositingToLCDText, | 1191 switches::kDisablePreferCompositingToLCDText, |
| 1192 switches::kDisableDatabases, | 1192 switches::kDisableDatabases, |
| 1193 switches::kDisableDirectNPAPIRequests, | 1193 switches::kDisableDirectNPAPIRequests, |
| 1194 switches::kDisableDisplayList2dCanvas, | 1194 switches::kDisableDisplayList2dCanvas, |
| 1195 switches::kDisableDistanceFieldText, | 1195 switches::kDisableDistanceFieldText, |
| 1196 switches::kDisableEncryptedMedia, |
| 1196 switches::kDisableFileSystem, | 1197 switches::kDisableFileSystem, |
| 1197 switches::kDisableGpuCompositing, | 1198 switches::kDisableGpuCompositing, |
| 1198 switches::kDisableGpuVsync, | 1199 switches::kDisableGpuVsync, |
| 1199 switches::kDisableLowResTiling, | 1200 switches::kDisableLowResTiling, |
| 1200 switches::kDisableHistogramCustomizer, | 1201 switches::kDisableHistogramCustomizer, |
| 1201 switches::kDisableLCDText, | 1202 switches::kDisableLCDText, |
| 1202 switches::kDisableLocalStorage, | 1203 switches::kDisableLocalStorage, |
| 1203 switches::kDisableLogging, | 1204 switches::kDisableLogging, |
| 1204 switches::kDisableMediaSource, | 1205 switches::kDisableMediaSource, |
| 1205 switches::kDisableOverlayScrollbar, | 1206 switches::kDisableOverlayScrollbar, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1217 switches::kDomAutomationController, | 1218 switches::kDomAutomationController, |
| 1218 switches::kEnableBeginFrameScheduling, | 1219 switches::kEnableBeginFrameScheduling, |
| 1219 switches::kEnableBleedingEdgeRenderingFastPaths, | 1220 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1220 switches::kEnableBrowserSideNavigation, | 1221 switches::kEnableBrowserSideNavigation, |
| 1221 switches::kEnablePreferCompositingToLCDText, | 1222 switches::kEnablePreferCompositingToLCDText, |
| 1222 switches::kEnableCredentialManagerAPI, | 1223 switches::kEnableCredentialManagerAPI, |
| 1223 switches::kEnableDeferredImageDecoding, | 1224 switches::kEnableDeferredImageDecoding, |
| 1224 switches::kEnableDelayAgnosticAec, | 1225 switches::kEnableDelayAgnosticAec, |
| 1225 switches::kEnableDisplayList2dCanvas, | 1226 switches::kEnableDisplayList2dCanvas, |
| 1226 switches::kEnableDistanceFieldText, | 1227 switches::kEnableDistanceFieldText, |
| 1227 switches::kEnableEncryptedMedia, | |
| 1228 switches::kEnableExperimentalCanvasFeatures, | 1228 switches::kEnableExperimentalCanvasFeatures, |
| 1229 switches::kEnableExperimentalWebPlatformFeatures, | 1229 switches::kEnableExperimentalWebPlatformFeatures, |
| 1230 switches::kEnableGPUClientLogging, | 1230 switches::kEnableGPUClientLogging, |
| 1231 switches::kEnableGpuClientTracing, | 1231 switches::kEnableGpuClientTracing, |
| 1232 switches::kEnableGPUServiceLogging, | 1232 switches::kEnableGPUServiceLogging, |
| 1233 switches::kEnableLinkDisambiguationPopup, | 1233 switches::kEnableLinkDisambiguationPopup, |
| 1234 switches::kEnableLowResTiling, | 1234 switches::kEnableLowResTiling, |
| 1235 switches::kEnableInbandTextTracks, | 1235 switches::kEnableInbandTextTracks, |
| 1236 switches::kEnableLCDText, | 1236 switches::kEnableLCDText, |
| 1237 switches::kEnableLogging, | 1237 switches::kEnableLogging, |
| (...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2360 | 2360 |
| 2361 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2361 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2362 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2362 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2363 DCHECK_GT(worker_ref_count_, 0); | 2363 DCHECK_GT(worker_ref_count_, 0); |
| 2364 --worker_ref_count_; | 2364 --worker_ref_count_; |
| 2365 if (worker_ref_count_ == 0) | 2365 if (worker_ref_count_ == 0) |
| 2366 Cleanup(); | 2366 Cleanup(); |
| 2367 } | 2367 } |
| 2368 | 2368 |
| 2369 } // namespace content | 2369 } // namespace content |
| OLD | NEW |