| 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 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 switches::kBlinkPlatformLogChannels, | 1126 switches::kBlinkPlatformLogChannels, |
| 1127 switches::kBlockCrossSiteDocuments, | 1127 switches::kBlockCrossSiteDocuments, |
| 1128 switches::kDefaultTileWidth, | 1128 switches::kDefaultTileWidth, |
| 1129 switches::kDefaultTileHeight, | 1129 switches::kDefaultTileHeight, |
| 1130 switches::kDisable3DAPIs, | 1130 switches::kDisable3DAPIs, |
| 1131 switches::kDisableAcceleratedVideoDecode, | 1131 switches::kDisableAcceleratedVideoDecode, |
| 1132 switches::kDisableApplicationCache, | 1132 switches::kDisableApplicationCache, |
| 1133 switches::kDisableBlinkScheduler, | 1133 switches::kDisableBlinkScheduler, |
| 1134 switches::kDisableBreakpad, | 1134 switches::kDisableBreakpad, |
| 1135 switches::kDisablePreferCompositingToLCDText, | 1135 switches::kDisablePreferCompositingToLCDText, |
| 1136 switches::kDisableCompositingForTransition, | |
| 1137 switches::kDisableDatabases, | 1136 switches::kDisableDatabases, |
| 1138 switches::kDisableDirectNPAPIRequests, | 1137 switches::kDisableDirectNPAPIRequests, |
| 1139 switches::kDisableDisplayList2dCanvas, | 1138 switches::kDisableDisplayList2dCanvas, |
| 1140 switches::kDisableDistanceFieldText, | 1139 switches::kDisableDistanceFieldText, |
| 1141 switches::kDisableFileSystem, | 1140 switches::kDisableFileSystem, |
| 1142 switches::kDisableGpuCompositing, | 1141 switches::kDisableGpuCompositing, |
| 1143 switches::kDisableGpuVsync, | 1142 switches::kDisableGpuVsync, |
| 1144 switches::kDisableLowResTiling, | 1143 switches::kDisableLowResTiling, |
| 1145 switches::kDisableHistogramCustomizer, | 1144 switches::kDisableHistogramCustomizer, |
| 1146 switches::kDisableLCDText, | 1145 switches::kDisableLCDText, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1161 switches::kDisableTouchAdjustment, | 1160 switches::kDisableTouchAdjustment, |
| 1162 switches::kDisableTouchDragDrop, | 1161 switches::kDisableTouchDragDrop, |
| 1163 switches::kDisableTouchEditing, | 1162 switches::kDisableTouchEditing, |
| 1164 switches::kDisableV8IdleNotificationAfterCommit, | 1163 switches::kDisableV8IdleNotificationAfterCommit, |
| 1165 switches::kDomAutomationController, | 1164 switches::kDomAutomationController, |
| 1166 switches::kEnableAcceleratedJpegDecoding, | 1165 switches::kEnableAcceleratedJpegDecoding, |
| 1167 switches::kEnableBeginFrameScheduling, | 1166 switches::kEnableBeginFrameScheduling, |
| 1168 switches::kEnableBleedingEdgeRenderingFastPaths, | 1167 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1169 switches::kEnableBrowserSideNavigation, | 1168 switches::kEnableBrowserSideNavigation, |
| 1170 switches::kEnablePreferCompositingToLCDText, | 1169 switches::kEnablePreferCompositingToLCDText, |
| 1171 switches::kEnableCompositingForTransition, | |
| 1172 switches::kEnableCredentialManagerAPI, | 1170 switches::kEnableCredentialManagerAPI, |
| 1173 switches::kEnableDeferredImageDecoding, | 1171 switches::kEnableDeferredImageDecoding, |
| 1174 switches::kEnableDisplayList2dCanvas, | 1172 switches::kEnableDisplayList2dCanvas, |
| 1175 switches::kEnableDistanceFieldText, | 1173 switches::kEnableDistanceFieldText, |
| 1176 switches::kEnableEncryptedMedia, | 1174 switches::kEnableEncryptedMedia, |
| 1177 switches::kEnableExperimentalCanvasFeatures, | 1175 switches::kEnableExperimentalCanvasFeatures, |
| 1178 switches::kEnableExperimentalWebPlatformFeatures, | 1176 switches::kEnableExperimentalWebPlatformFeatures, |
| 1179 switches::kEnableGPUClientLogging, | 1177 switches::kEnableGPUClientLogging, |
| 1180 switches::kEnableGpuClientTracing, | 1178 switches::kEnableGpuClientTracing, |
| 1181 switches::kEnableGPUServiceLogging, | 1179 switches::kEnableGPUServiceLogging, |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2313 | 2311 |
| 2314 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2312 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2315 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2313 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2316 DCHECK_GT(worker_ref_count_, 0); | 2314 DCHECK_GT(worker_ref_count_, 0); |
| 2317 --worker_ref_count_; | 2315 --worker_ref_count_; |
| 2318 if (worker_ref_count_ == 0) | 2316 if (worker_ref_count_ == 0) |
| 2319 Cleanup(); | 2317 Cleanup(); |
| 2320 } | 2318 } |
| 2321 | 2319 |
| 2322 } // namespace content | 2320 } // namespace content |
| OLD | NEW |