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

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

Issue 1293873005: Expire resources in ResourcePool after non-use (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@re-use
Patch Set: Fix unit test Created 5 years, 4 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 switches::kVModule, 1367 switches::kVModule,
1368 // Please keep these in alphabetical order. Compositor switches here should 1368 // Please keep these in alphabetical order. Compositor switches here should
1369 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1369 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1370 cc::switches::kCompositeToMailbox, 1370 cc::switches::kCompositeToMailbox,
1371 cc::switches::kDisableCompositedAntialiasing, 1371 cc::switches::kDisableCompositedAntialiasing,
1372 cc::switches::kDisableMainFrameBeforeActivation, 1372 cc::switches::kDisableMainFrameBeforeActivation,
1373 cc::switches::kDisableThreadedAnimation, 1373 cc::switches::kDisableThreadedAnimation,
1374 cc::switches::kEnableBeginFrameScheduling, 1374 cc::switches::kEnableBeginFrameScheduling,
1375 cc::switches::kEnableGpuBenchmarking, 1375 cc::switches::kEnableGpuBenchmarking,
1376 cc::switches::kEnableMainFrameBeforeActivation, 1376 cc::switches::kEnableMainFrameBeforeActivation,
1377 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1378 cc::switches::kShowCompositedLayerBorders, 1377 cc::switches::kShowCompositedLayerBorders,
1379 cc::switches::kShowFPSCounter, 1378 cc::switches::kShowFPSCounter,
1380 cc::switches::kShowLayerAnimationBounds, 1379 cc::switches::kShowLayerAnimationBounds,
1381 cc::switches::kShowPropertyChangedRects, 1380 cc::switches::kShowPropertyChangedRects,
1382 cc::switches::kShowReplicaScreenSpaceRects, 1381 cc::switches::kShowReplicaScreenSpaceRects,
1383 cc::switches::kShowScreenSpaceRects, 1382 cc::switches::kShowScreenSpaceRects,
1384 cc::switches::kShowSurfaceDamageRects, 1383 cc::switches::kShowSurfaceDamageRects,
1385 cc::switches::kSlowDownRasterScaleFactor, 1384 cc::switches::kSlowDownRasterScaleFactor,
1386 cc::switches::kStrictLayerPropertyChangeChecking, 1385 cc::switches::kStrictLayerPropertyChangeChecking,
1387 cc::switches::kTopControlsHideThreshold, 1386 cc::switches::kTopControlsHideThreshold,
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
2533 void RenderProcessHostImpl::GetAudioOutputControllers( 2532 void RenderProcessHostImpl::GetAudioOutputControllers(
2534 const GetAudioOutputControllersCallback& callback) const { 2533 const GetAudioOutputControllersCallback& callback) const {
2535 audio_renderer_host()->GetOutputControllers(callback); 2534 audio_renderer_host()->GetOutputControllers(callback);
2536 } 2535 }
2537 2536
2538 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2537 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2539 return bluetooth_dispatcher_host_.get(); 2538 return bluetooth_dispatcher_host_.get();
2540 } 2539 }
2541 2540
2542 } // namespace content 2541 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698