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

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

Issue 617073002: Plugin Power Saver: Add flag to experiment behind. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add histograms entry Created 6 years, 2 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 (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 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 switches::kEnableLCDText, 1139 switches::kEnableLCDText,
1140 switches::kEnableLayerSquashing, 1140 switches::kEnableLayerSquashing,
1141 switches::kEnableLogging, 1141 switches::kEnableLogging,
1142 switches::kEnableMemoryBenchmarking, 1142 switches::kEnableMemoryBenchmarking,
1143 switches::kEnableNetworkInformation, 1143 switches::kEnableNetworkInformation,
1144 switches::kEnableOneCopy, 1144 switches::kEnableOneCopy,
1145 switches::kEnableOverlayFullscreenVideo, 1145 switches::kEnableOverlayFullscreenVideo,
1146 switches::kEnableOverlayScrollbar, 1146 switches::kEnableOverlayScrollbar,
1147 switches::kEnableOverscrollNotifications, 1147 switches::kEnableOverscrollNotifications,
1148 switches::kEnablePinch, 1148 switches::kEnablePinch,
1149 switches::kEnablePluginPowerSaver,
1149 switches::kEnablePreciseMemoryInfo, 1150 switches::kEnablePreciseMemoryInfo,
1150 switches::kEnableRendererMojoChannel, 1151 switches::kEnableRendererMojoChannel,
1151 switches::kEnableSeccompFilterSandbox, 1152 switches::kEnableSeccompFilterSandbox,
1152 switches::kEnableSkiaBenchmarking, 1153 switches::kEnableSkiaBenchmarking,
1153 switches::kEnableSmoothScrolling, 1154 switches::kEnableSmoothScrolling,
1154 switches::kEnableStatsTable, 1155 switches::kEnableStatsTable,
1155 switches::kEnableStrictSiteIsolation, 1156 switches::kEnableStrictSiteIsolation,
1156 switches::kEnableThreadedCompositing, 1157 switches::kEnableThreadedCompositing,
1157 switches::kEnableTouchDragDrop, 1158 switches::kEnableTouchDragDrop,
1158 switches::kEnableTouchEditing, 1159 switches::kEnableTouchEditing,
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
2248 if (worker_ref_count_ == 0) 2249 if (worker_ref_count_ == 0)
2249 Cleanup(); 2250 Cleanup();
2250 } 2251 }
2251 2252
2252 void RenderProcessHostImpl::EnsureMojoActivated() { 2253 void RenderProcessHostImpl::EnsureMojoActivated() {
2253 mojo_activation_required_ = true; 2254 mojo_activation_required_ = true;
2254 MaybeActivateMojo(); 2255 MaybeActivateMojo();
2255 } 2256 }
2256 2257
2257 } // namespace content 2258 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698