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 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 switches::kEnableLowResTiling, | 1241 switches::kEnableLowResTiling, |
1242 switches::kEnableInbandTextTracks, | 1242 switches::kEnableInbandTextTracks, |
1243 switches::kEnableLCDText, | 1243 switches::kEnableLCDText, |
1244 switches::kEnableLogging, | 1244 switches::kEnableLogging, |
1245 switches::kEnableMemoryBenchmarking, | 1245 switches::kEnableMemoryBenchmarking, |
1246 switches::kEnableNetworkInformation, | 1246 switches::kEnableNetworkInformation, |
1247 switches::kEnableOverlayFullscreenVideo, | 1247 switches::kEnableOverlayFullscreenVideo, |
1248 switches::kEnableOverlayScrollbar, | 1248 switches::kEnableOverlayScrollbar, |
1249 switches::kEnablePinch, | 1249 switches::kEnablePinch, |
1250 switches::kEnablePreciseMemoryInfo, | 1250 switches::kEnablePreciseMemoryInfo, |
| 1251 switches::kEnablePushMessagePayload, |
1251 switches::kEnableRendererMojoChannel, | 1252 switches::kEnableRendererMojoChannel, |
1252 switches::kEnableSeccompFilterSandbox, | 1253 switches::kEnableSeccompFilterSandbox, |
1253 switches::kEnableSkiaBenchmarking, | 1254 switches::kEnableSkiaBenchmarking, |
1254 switches::kEnableSlimmingPaint, | 1255 switches::kEnableSlimmingPaint, |
1255 switches::kEnableSmoothScrolling, | 1256 switches::kEnableSmoothScrolling, |
1256 switches::kEnableStatsTable, | 1257 switches::kEnableStatsTable, |
1257 switches::kEnableStrictSiteIsolation, | 1258 switches::kEnableStrictSiteIsolation, |
1258 switches::kEnableThreadedCompositing, | 1259 switches::kEnableThreadedCompositing, |
1259 switches::kEnableTouchDragDrop, | 1260 switches::kEnableTouchDragDrop, |
1260 switches::kEnableTouchEditing, | 1261 switches::kEnableTouchEditing, |
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 | 2388 |
2388 void RenderProcessHostImpl::DecrementWorkerRefCount() { | 2389 void RenderProcessHostImpl::DecrementWorkerRefCount() { |
2389 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2390 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2390 DCHECK_GT(worker_ref_count_, 0); | 2391 DCHECK_GT(worker_ref_count_, 0); |
2391 --worker_ref_count_; | 2392 --worker_ref_count_; |
2392 if (worker_ref_count_ == 0) | 2393 if (worker_ref_count_ == 0) |
2393 Cleanup(); | 2394 Cleanup(); |
2394 } | 2395 } |
2395 | 2396 |
2396 } // namespace content | 2397 } // namespace content |
OLD | NEW |