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

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

Issue 114923005: base: Discardable memory types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix macosx build issues Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « base/memory/discardable_memory_win.cc ('k') | content/public/common/content_switches.h » ('j') | 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 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 switches::kReduceSecurityForTesting, 1062 switches::kReduceSecurityForTesting,
1063 switches::kRegisterPepperPlugins, 1063 switches::kRegisterPepperPlugins,
1064 switches::kRendererAssertTest, 1064 switches::kRendererAssertTest,
1065 switches::kRendererStartupDialog, 1065 switches::kRendererStartupDialog,
1066 switches::kShowPaintRects, 1066 switches::kShowPaintRects,
1067 switches::kSitePerProcess, 1067 switches::kSitePerProcess,
1068 switches::kStatsCollectionController, 1068 switches::kStatsCollectionController,
1069 switches::kTestSandbox, 1069 switches::kTestSandbox,
1070 switches::kTouchEvents, 1070 switches::kTouchEvents,
1071 switches::kTraceToConsole, 1071 switches::kTraceToConsole,
1072 switches::kUseDiscardableMemory,
piman 2014/01/08 01:42:23 Can you add this to kForwardSwitches in chrome/bro
reveman 2014/01/08 03:05:25 Done.
1072 // This flag needs to be propagated to the renderer process for 1073 // This flag needs to be propagated to the renderer process for
1073 // --in-process-webgl. 1074 // --in-process-webgl.
1074 switches::kUseGL, 1075 switches::kUseGL,
1075 switches::kUseMobileUserAgent, 1076 switches::kUseMobileUserAgent,
1076 switches::kUserAgent, 1077 switches::kUserAgent,
1077 switches::kV, 1078 switches::kV,
1078 switches::kVideoThreads, 1079 switches::kVideoThreads,
1079 switches::kVModule, 1080 switches::kVModule,
1080 switches::kWebCoreLogChannels, 1081 switches::kWebCoreLogChannels,
1081 switches::kWebGLCommandBufferSizeKb, 1082 switches::kWebGLCommandBufferSizeKb,
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
2017 return; 2018 return;
2018 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); 2019 Send(new MediaStreamMsg_EnableAecDump(file_for_transit));
2019 } 2020 }
2020 2021
2021 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() { 2022 void RenderProcessHostImpl::SendDisableAecDumpToRenderer() {
2022 Send(new MediaStreamMsg_DisableAecDump()); 2023 Send(new MediaStreamMsg_DisableAecDump());
2023 } 2024 }
2024 #endif 2025 #endif
2025 2026
2026 } // namespace content 2027 } // namespace content
OLDNEW
« no previous file with comments | « base/memory/discardable_memory_win.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698