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

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

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Reverting not really needed changes under //gpu. Created 4 years, 8 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"
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 GpuDataManagerImpl* owner) { 978 GpuDataManagerImpl* owner) {
979 return new GpuDataManagerImplPrivate(owner); 979 return new GpuDataManagerImplPrivate(owner);
980 } 980 }
981 981
982 GpuDataManagerImplPrivate::GpuDataManagerImplPrivate(GpuDataManagerImpl* owner) 982 GpuDataManagerImplPrivate::GpuDataManagerImplPrivate(GpuDataManagerImpl* owner)
983 : complete_gpu_info_already_requested_(false), 983 : complete_gpu_info_already_requested_(false),
984 observer_list_(new GpuDataManagerObserverList), 984 observer_list_(new GpuDataManagerObserverList),
985 use_swiftshader_(false), 985 use_swiftshader_(false),
986 card_blacklisted_(false), 986 card_blacklisted_(false),
987 update_histograms_(true), 987 update_histograms_(true),
988 window_count_(0),
989 domain_blocking_enabled_(true), 988 domain_blocking_enabled_(true),
990 owner_(owner), 989 owner_(owner),
991 gpu_process_accessible_(true), 990 gpu_process_accessible_(true),
992 is_initialized_(false), 991 is_initialized_(false),
993 finalized_(false) { 992 finalized_(false) {
994 DCHECK(owner_); 993 DCHECK(owner_);
995 const base::CommandLine* command_line = 994 const base::CommandLine* command_line =
996 base::CommandLine::ForCurrentProcess(); 995 base::CommandLine::ForCurrentProcess();
997 swiftshader_path_ = 996 swiftshader_path_ =
998 base::CommandLine::ForCurrentProcess()->GetSwitchValuePath( 997 base::CommandLine::ForCurrentProcess()->GetSwitchValuePath(
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 gpu_info_.context_info_state = gpu::kCollectInfoFatalFailure; 1219 gpu_info_.context_info_state = gpu::kCollectInfoFatalFailure;
1221 #if defined(OS_WIN) 1220 #if defined(OS_WIN)
1222 gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoFatalFailure; 1221 gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoFatalFailure;
1223 #endif 1222 #endif
1224 complete_gpu_info_already_requested_ = true; 1223 complete_gpu_info_already_requested_ = true;
1225 // Some observers might be waiting. 1224 // Some observers might be waiting.
1226 NotifyGpuInfoUpdate(); 1225 NotifyGpuInfoUpdate();
1227 } 1226 }
1228 1227
1229 } // namespace content 1228 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.h ('k') | content/browser/loader/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698