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

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: Remove no longer needed "acquired_memory_usage" fns 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 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 switches::kVModule, 1364 switches::kVModule,
1365 // Please keep these in alphabetical order. Compositor switches here should 1365 // Please keep these in alphabetical order. Compositor switches here should
1366 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1366 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1367 cc::switches::kCompositeToMailbox, 1367 cc::switches::kCompositeToMailbox,
1368 cc::switches::kDisableCompositedAntialiasing, 1368 cc::switches::kDisableCompositedAntialiasing,
1369 cc::switches::kDisableMainFrameBeforeActivation, 1369 cc::switches::kDisableMainFrameBeforeActivation,
1370 cc::switches::kDisableThreadedAnimation, 1370 cc::switches::kDisableThreadedAnimation,
1371 cc::switches::kEnableBeginFrameScheduling, 1371 cc::switches::kEnableBeginFrameScheduling,
1372 cc::switches::kEnableGpuBenchmarking, 1372 cc::switches::kEnableGpuBenchmarking,
1373 cc::switches::kEnableMainFrameBeforeActivation, 1373 cc::switches::kEnableMainFrameBeforeActivation,
1374 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1375 cc::switches::kShowCompositedLayerBorders, 1374 cc::switches::kShowCompositedLayerBorders,
1376 cc::switches::kShowFPSCounter, 1375 cc::switches::kShowFPSCounter,
1377 cc::switches::kShowLayerAnimationBounds, 1376 cc::switches::kShowLayerAnimationBounds,
1378 cc::switches::kShowPropertyChangedRects, 1377 cc::switches::kShowPropertyChangedRects,
1379 cc::switches::kShowReplicaScreenSpaceRects, 1378 cc::switches::kShowReplicaScreenSpaceRects,
1380 cc::switches::kShowScreenSpaceRects, 1379 cc::switches::kShowScreenSpaceRects,
1381 cc::switches::kShowSurfaceDamageRects, 1380 cc::switches::kShowSurfaceDamageRects,
1382 cc::switches::kSlowDownRasterScaleFactor, 1381 cc::switches::kSlowDownRasterScaleFactor,
1383 cc::switches::kStrictLayerPropertyChangeChecking, 1382 cc::switches::kStrictLayerPropertyChangeChecking,
1384 cc::switches::kTopControlsHideThreshold, 1383 cc::switches::kTopControlsHideThreshold,
(...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after
2531 void RenderProcessHostImpl::GetAudioOutputControllers( 2530 void RenderProcessHostImpl::GetAudioOutputControllers(
2532 const GetAudioOutputControllersCallback& callback) const { 2531 const GetAudioOutputControllersCallback& callback) const {
2533 audio_renderer_host()->GetOutputControllers(callback); 2532 audio_renderer_host()->GetOutputControllers(callback);
2534 } 2533 }
2535 2534
2536 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2535 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2537 return bluetooth_dispatcher_host_.get(); 2536 return bluetooth_dispatcher_host_.get();
2538 } 2537 }
2539 2538
2540 } // namespace content 2539 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698