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 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 switches::kDisableTouchAdjustment, | 1102 switches::kDisableTouchAdjustment, |
1103 switches::kDisableTouchDragDrop, | 1103 switches::kDisableTouchDragDrop, |
1104 switches::kDisableTouchEditing, | 1104 switches::kDisableTouchEditing, |
1105 switches::kDisableV8IdleNotificationAfterCommit, | 1105 switches::kDisableV8IdleNotificationAfterCommit, |
1106 switches::kDisableZeroCopy, | 1106 switches::kDisableZeroCopy, |
1107 switches::kDomAutomationController, | 1107 switches::kDomAutomationController, |
1108 switches::kEnableBeginFrameScheduling, | 1108 switches::kEnableBeginFrameScheduling, |
1109 switches::kEnableBleedingEdgeRenderingFastPaths, | 1109 switches::kEnableBleedingEdgeRenderingFastPaths, |
1110 switches::kEnablePreferCompositingToLCDText, | 1110 switches::kEnablePreferCompositingToLCDText, |
1111 switches::kEnableCompositingForTransition, | 1111 switches::kEnableCompositingForTransition, |
| 1112 switches::kEnableCredentialManagerAPI, |
1112 switches::kEnableDeferredImageDecoding, | 1113 switches::kEnableDeferredImageDecoding, |
1113 switches::kEnableDisplayList2dCanvas, | 1114 switches::kEnableDisplayList2dCanvas, |
1114 switches::kEnableDistanceFieldText, | 1115 switches::kEnableDistanceFieldText, |
1115 switches::kEnableEncryptedMedia, | 1116 switches::kEnableEncryptedMedia, |
1116 switches::kEnableExperimentalCanvasFeatures, | 1117 switches::kEnableExperimentalCanvasFeatures, |
1117 switches::kEnableExperimentalWebPlatformFeatures, | 1118 switches::kEnableExperimentalWebPlatformFeatures, |
1118 switches::kEnableGPUClientLogging, | 1119 switches::kEnableGPUClientLogging, |
1119 switches::kEnableGpuClientTracing, | 1120 switches::kEnableGpuClientTracing, |
1120 switches::kEnableGPUServiceLogging, | 1121 switches::kEnableGPUServiceLogging, |
1121 switches::kEnableLowResTiling, | 1122 switches::kEnableLowResTiling, |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 | 2226 |
2226 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2227 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
2227 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2228 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2228 DCHECK_GT(worker_ref_count_, 0); | 2229 DCHECK_GT(worker_ref_count_, 0); |
2229 --worker_ref_count_; | 2230 --worker_ref_count_; |
2230 if (worker_ref_count_ == 0) | 2231 if (worker_ref_count_ == 0) |
2231 Cleanup(); | 2232 Cleanup(); |
2232 } | 2233 } |
2233 | 2234 |
2234 } // namespace content | 2235 } // namespace content |
OLD | NEW |