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

Side by Side Diff: content/browser/gpu/gpu_process_host.cc

Issue 1275013005: [tracing] Disable memory maps dump provider for security reason (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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
« no previous file with comments | « base/trace_event/memory_dump_manager.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 #include "content/browser/gpu/gpu_process_host.h" 5 #include "content/browser/gpu/gpu_process_host.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 #if defined(OS_CHROMEOS) 101 #if defined(OS_CHROMEOS)
102 switches::kDisableVaapiAcceleratedVideoEncode, 102 switches::kDisableVaapiAcceleratedVideoEncode,
103 #endif 103 #endif
104 switches::kGpuStartupDialog, 104 switches::kGpuStartupDialog,
105 switches::kGpuSandboxAllowSysVShm, 105 switches::kGpuSandboxAllowSysVShm,
106 switches::kGpuSandboxFailuresFatal, 106 switches::kGpuSandboxFailuresFatal,
107 switches::kGpuSandboxStartEarly, 107 switches::kGpuSandboxStartEarly,
108 switches::kLoggingLevel, 108 switches::kLoggingLevel,
109 switches::kEnableLowEndDeviceMode, 109 switches::kEnableLowEndDeviceMode,
110 switches::kDisableLowEndDeviceMode, 110 switches::kDisableLowEndDeviceMode,
111 switches::kEnableMemoryBenchmarking,
111 switches::kNoSandbox, 112 switches::kNoSandbox,
112 switches::kProfilerTiming, 113 switches::kProfilerTiming,
113 switches::kTestGLLib, 114 switches::kTestGLLib,
114 switches::kTraceStartup, 115 switches::kTraceStartup,
115 switches::kTraceToConsole, 116 switches::kTraceToConsole,
116 switches::kV, 117 switches::kV,
117 switches::kVModule, 118 switches::kVModule,
118 #if defined(OS_MACOSX) 119 #if defined(OS_MACOSX)
119 switches::kDisableRemoteCoreAnimation, 120 switches::kDisableRemoteCoreAnimation,
120 switches::kDisableMacOverlays, 121 switches::kDisableMacOverlays,
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1145 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1145 ClientIdToShaderCacheMap::iterator iter = 1146 ClientIdToShaderCacheMap::iterator iter =
1146 client_id_to_shader_cache_.find(client_id); 1147 client_id_to_shader_cache_.find(client_id);
1147 // If the cache doesn't exist then this is an off the record profile. 1148 // If the cache doesn't exist then this is an off the record profile.
1148 if (iter == client_id_to_shader_cache_.end()) 1149 if (iter == client_id_to_shader_cache_.end())
1149 return; 1150 return;
1150 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1151 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1151 } 1152 }
1152 1153
1153 } // namespace content 1154 } // namespace content
OLDNEW
« no previous file with comments | « base/trace_event/memory_dump_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698