Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(936)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 884093003: Propagate push command line flag to the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/services/gcm/push_messaging_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/services/gcm/push_messaging_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698