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

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

Issue 1711533002: Decouple browser-specific GPU IPC messages from GPU service IPCs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dependencies on gpu_browser_messages in content/common/gpu Created 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_data_manager_impl_private.h" 5 #include "content/browser/gpu/gpu_data_manager_impl_private.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/metrics/sparse_histogram.h" 12 #include "base/metrics/sparse_histogram.h"
13 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_split.h"
14 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
15 #include "base/sys_info.h" 16 #include "base/sys_info.h"
16 #include "base/trace_event/trace_event.h" 17 #include "base/trace_event/trace_event.h"
17 #include "base/version.h" 18 #include "base/version.h"
18 #include "build/build_config.h" 19 #include "build/build_config.h"
19 #include "cc/base/switches.h" 20 #include "cc/base/switches.h"
20 #include "content/browser/gpu/gpu_process_host.h" 21 #include "content/browser/gpu/gpu_process_host.h"
21 #include "content/common/gpu/gpu_messages.h" 22 #include "content/common/gpu/gpu_browser_messages.h"
22 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/gpu_data_manager_observer.h" 24 #include "content/public/browser/gpu_data_manager_observer.h"
24 #include "content/public/common/content_client.h" 25 #include "content/public/common/content_client.h"
25 #include "content/public/common/content_constants.h" 26 #include "content/public/common/content_constants.h"
26 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
27 #include "content/public/common/web_preferences.h" 28 #include "content/public/common/web_preferences.h"
28 #include "gpu/command_buffer/service/gpu_switches.h" 29 #include "gpu/command_buffer/service/gpu_switches.h"
29 #include "gpu/config/gpu_control_list_jsons.h" 30 #include "gpu/config/gpu_control_list_jsons.h"
30 #include "gpu/config/gpu_driver_bug_workaround_type.h" 31 #include "gpu/config/gpu_driver_bug_workaround_type.h"
31 #include "gpu/config/gpu_feature_type.h" 32 #include "gpu/config/gpu_feature_type.h"
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 gpu_info_.context_info_state = gpu::kCollectInfoFatalFailure; 1240 gpu_info_.context_info_state = gpu::kCollectInfoFatalFailure;
1240 #if defined(OS_WIN) 1241 #if defined(OS_WIN)
1241 gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoFatalFailure; 1242 gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoFatalFailure;
1242 #endif 1243 #endif
1243 complete_gpu_info_already_requested_ = true; 1244 complete_gpu_info_already_requested_ = true;
1244 // Some observers might be waiting. 1245 // Some observers might be waiting.
1245 NotifyGpuInfoUpdate(); 1246 NotifyGpuInfoUpdate();
1246 } 1247 }
1247 1248
1248 } // namespace content 1249 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | content/common/gpu/gpu_browser_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698