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

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

Issue 6672064: Move gpu_feature_flags from chrome\common to content\browser since it's only ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « content/browser/gpu_process_host.h ('k') | content/common/gpu_feature_flags.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) 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 #if defined(OS_WIN) 5 #if defined(OS_WIN)
6 #include <windows.h> 6 #include <windows.h>
7 #endif 7 #endif
8 8
9 #include "content/browser/gpu_process_host.h" 9 #include "content/browser/gpu_process_host.h"
10 10
11 #include "app/app_switches.h" 11 #include "app/app_switches.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "base/string_piece.h" 14 #include "base/string_piece.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 #include "chrome/browser/gpu_process_host_ui_shim.h" 16 #include "chrome/browser/gpu_process_host_ui_shim.h"
17 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h" 17 #include "chrome/browser/tab_contents/render_view_host_delegate_helper.h"
18 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
19 #include "chrome/common/gpu_feature_flags.h"
20 #include "chrome/common/render_messages.h" 19 #include "chrome/common/render_messages.h"
21 #include "content/browser/browser_thread.h" 20 #include "content/browser/browser_thread.h"
22 #include "content/browser/renderer_host/render_widget_host.h" 21 #include "content/browser/renderer_host/render_widget_host.h"
23 #include "content/browser/renderer_host/render_widget_host_view.h" 22 #include "content/browser/renderer_host/render_widget_host_view.h"
24 #include "content/common/gpu_messages.h" 23 #include "content/common/gpu_messages.h"
25 #include "content/gpu/gpu_thread.h" 24 #include "content/gpu/gpu_thread.h"
26 #include "ipc/ipc_channel_handle.h" 25 #include "ipc/ipc_channel_handle.h"
27 #include "ipc/ipc_switches.h" 26 #include "ipc/ipc_switches.h"
28 #include "media/base/media_switches.h" 27 #include "media/base/media_switches.h"
29 28
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 #elif defined(OS_POSIX) 319 #elif defined(OS_POSIX)
321 false, // Never use the zygote (GPU plugin can't be sandboxed). 320 false, // Never use the zygote (GPU plugin can't be sandboxed).
322 base::environment_vector(), 321 base::environment_vector(),
323 #endif 322 #endif
324 cmd_line); 323 cmd_line);
325 324
326 UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessLifetimeEvents", 325 UMA_HISTOGRAM_ENUMERATION("GPU.GPUProcessLifetimeEvents",
327 LAUNCHED, GPU_PROCESS_LIFETIME_EVENT_MAX); 326 LAUNCHED, GPU_PROCESS_LIFETIME_EVENT_MAX);
328 return true; 327 return true;
329 } 328 }
OLDNEW
« no previous file with comments | « content/browser/gpu_process_host.h ('k') | content/common/gpu_feature_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698