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 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 switches::kEnableCredentialManagerAPI, | 1130 switches::kEnableCredentialManagerAPI, |
1131 switches::kEnableDeferredImageDecoding, | 1131 switches::kEnableDeferredImageDecoding, |
1132 switches::kEnableDisplayList2dCanvas, | 1132 switches::kEnableDisplayList2dCanvas, |
1133 switches::kEnableDistanceFieldText, | 1133 switches::kEnableDistanceFieldText, |
1134 switches::kEnableEncryptedMedia, | 1134 switches::kEnableEncryptedMedia, |
1135 switches::kEnableExperimentalCanvasFeatures, | 1135 switches::kEnableExperimentalCanvasFeatures, |
1136 switches::kEnableExperimentalWebPlatformFeatures, | 1136 switches::kEnableExperimentalWebPlatformFeatures, |
1137 switches::kEnableGPUClientLogging, | 1137 switches::kEnableGPUClientLogging, |
1138 switches::kEnableGpuClientTracing, | 1138 switches::kEnableGpuClientTracing, |
1139 switches::kEnableGPUServiceLogging, | 1139 switches::kEnableGPUServiceLogging, |
| 1140 switches::kEnableLinkDisambiguationPopup, |
1140 switches::kEnableLowResTiling, | 1141 switches::kEnableLowResTiling, |
1141 switches::kEnableInbandTextTracks, | 1142 switches::kEnableInbandTextTracks, |
1142 switches::kEnableLCDText, | 1143 switches::kEnableLCDText, |
1143 switches::kEnableLayerSquashing, | 1144 switches::kEnableLayerSquashing, |
1144 switches::kEnableLogging, | 1145 switches::kEnableLogging, |
1145 switches::kEnableMemoryBenchmarking, | 1146 switches::kEnableMemoryBenchmarking, |
1146 switches::kEnableNetworkInformation, | 1147 switches::kEnableNetworkInformation, |
1147 switches::kEnableOneCopy, | 1148 switches::kEnableOneCopy, |
1148 switches::kEnableOverlayFullscreenVideo, | 1149 switches::kEnableOverlayFullscreenVideo, |
1149 switches::kEnableOverlayScrollbar, | 1150 switches::kEnableOverlayScrollbar, |
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2247 | 2248 |
2248 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2249 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
2249 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2250 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2250 DCHECK_GT(worker_ref_count_, 0); | 2251 DCHECK_GT(worker_ref_count_, 0); |
2251 --worker_ref_count_; | 2252 --worker_ref_count_; |
2252 if (worker_ref_count_ == 0) | 2253 if (worker_ref_count_ == 0) |
2253 Cleanup(); | 2254 Cleanup(); |
2254 } | 2255 } |
2255 | 2256 |
2256 } // namespace content | 2257 } // namespace content |
OLD | NEW |