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

Side by Side Diff: chrome/browser/gpu_process_host.cc

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/gpu_process_host.h" 5 #include "chrome/browser/gpu_process_host.h"
6 6
7 #include "app/app_switches.h" 7 #include "app/app_switches.h"
8 #include "base/command_line.h"
scheib 2011/02/23 21:34:10 This include is the only change to this file -- is
8 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
9 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
10 #include "base/string_piece.h" 11 #include "base/string_piece.h"
11 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
12 #include "chrome/browser/browser_thread.h" 13 #include "chrome/browser/browser_thread.h"
13 #include "chrome/browser/gpu_process_host_ui_shim.h" 14 #include "chrome/browser/gpu_process_host_ui_shim.h"
14 #include "chrome/browser/renderer_host/render_widget_host.h" 15 #include "chrome/browser/renderer_host/render_widget_host.h"
15 #include "chrome/browser/renderer_host/render_widget_host_view.h" 16 #include "chrome/browser/renderer_host/render_widget_host_view.h"
16 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" 17 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
17 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #elif defined(OS_POSIX) 271 #elif defined(OS_POSIX)
271 false, // Never use the zygote (GPU plugin can't be sandboxed). 272 false, // Never use the zygote (GPU plugin can't be sandboxed).
272 base::environment_vector(), 273 base::environment_vector(),
273 #endif 274 #endif
274 cmd_line); 275 cmd_line);
275 276
276 UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessLifetimeEvents", 277 UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessLifetimeEvents",
277 LAUNCHED, GPU_PROCESS_LIFETIME_EVENT_MAX); 278 LAUNCHED, GPU_PROCESS_LIFETIME_EVENT_MAX);
278 return true; 279 return true;
279 } 280 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698