| 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 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 switches::kDisableLayerSquashing, | 1095 switches::kDisableLayerSquashing, |
| 1096 switches::kDisableLocalStorage, | 1096 switches::kDisableLocalStorage, |
| 1097 switches::kDisableLogging, | 1097 switches::kDisableLogging, |
| 1098 switches::kDisableMediaSource, | 1098 switches::kDisableMediaSource, |
| 1099 switches::kDisableOverlayScrollbar, | 1099 switches::kDisableOverlayScrollbar, |
| 1100 switches::kDisablePinch, | 1100 switches::kDisablePinch, |
| 1101 switches::kDisablePrefixedEncryptedMedia, | 1101 switches::kDisablePrefixedEncryptedMedia, |
| 1102 switches::kDisableSeccompFilterSandbox, | 1102 switches::kDisableSeccompFilterSandbox, |
| 1103 switches::kDisableSessionStorage, | 1103 switches::kDisableSessionStorage, |
| 1104 switches::kDisableSharedWorkers, | 1104 switches::kDisableSharedWorkers, |
| 1105 switches::kDisableSVG1DOM, |
| 1105 switches::kDisableThreadedCompositing, | 1106 switches::kDisableThreadedCompositing, |
| 1106 switches::kDisableThreadedScrolling, | 1107 switches::kDisableThreadedScrolling, |
| 1107 switches::kDisableTouchAdjustment, | 1108 switches::kDisableTouchAdjustment, |
| 1108 switches::kDisableTouchDragDrop, | 1109 switches::kDisableTouchDragDrop, |
| 1109 switches::kDisableTouchEditing, | 1110 switches::kDisableTouchEditing, |
| 1110 switches::kDisableV8IdleNotificationAfterCommit, | 1111 switches::kDisableV8IdleNotificationAfterCommit, |
| 1111 switches::kDisableZeroCopy, | 1112 switches::kDisableZeroCopy, |
| 1112 switches::kDomAutomationController, | 1113 switches::kDomAutomationController, |
| 1113 switches::kEnableAcceleratedJpegDecoding, | 1114 switches::kEnableAcceleratedJpegDecoding, |
| 1114 switches::kEnableBeginFrameScheduling, | 1115 switches::kEnableBeginFrameScheduling, |
| (...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2234 | 2235 |
| 2235 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2236 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
| 2236 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2237 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2237 DCHECK_GT(worker_ref_count_, 0); | 2238 DCHECK_GT(worker_ref_count_, 0); |
| 2238 --worker_ref_count_; | 2239 --worker_ref_count_; |
| 2239 if (worker_ref_count_ == 0) | 2240 if (worker_ref_count_ == 0) |
| 2240 Cleanup(); | 2241 Cleanup(); |
| 2241 } | 2242 } |
| 2242 | 2243 |
| 2243 } // namespace content | 2244 } // namespace content |
| OLD | NEW |