| OLD | NEW |
| 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.h" | 5 #include "content/browser/gpu/gpu_data_manager_impl.h" |
| 6 | 6 |
| 7 #include "content/browser/gpu/gpu_data_manager_impl_private.h" | 7 #include "content/browser/gpu/gpu_data_manager_impl_private.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 std::string GpuDataManagerImpl::GetDriverBugListVersion() const { | 180 std::string GpuDataManagerImpl::GetDriverBugListVersion() const { |
| 181 base::AutoLock auto_lock(lock_); | 181 base::AutoLock auto_lock(lock_); |
| 182 return private_->GetDriverBugListVersion(); | 182 return private_->GetDriverBugListVersion(); |
| 183 } | 183 } |
| 184 | 184 |
| 185 void GpuDataManagerImpl::GetBlacklistReasons(base::ListValue* reasons) const { | 185 void GpuDataManagerImpl::GetBlacklistReasons(base::ListValue* reasons) const { |
| 186 base::AutoLock auto_lock(lock_); | 186 base::AutoLock auto_lock(lock_); |
| 187 private_->GetBlacklistReasons(reasons); | 187 private_->GetBlacklistReasons(reasons); |
| 188 } | 188 } |
| 189 | 189 |
| 190 std::vector<std::string> GpuDataManagerImpl::GetDriverBugWorkarounds() const { | 190 void GpuDataManagerImpl::GetDriverBugWorkarounds( |
| 191 base::ListValue* workarounds) const { |
| 191 base::AutoLock auto_lock(lock_); | 192 base::AutoLock auto_lock(lock_); |
| 192 return private_->GetDriverBugWorkarounds(); | 193 private_->GetDriverBugWorkarounds(workarounds); |
| 193 } | 194 } |
| 194 | 195 |
| 195 void GpuDataManagerImpl::AddLogMessage(int level, | 196 void GpuDataManagerImpl::AddLogMessage(int level, |
| 196 const std::string& header, | 197 const std::string& header, |
| 197 const std::string& message) { | 198 const std::string& message) { |
| 198 base::AutoLock auto_lock(lock_); | 199 base::AutoLock auto_lock(lock_); |
| 199 private_->AddLogMessage(level, header, message); | 200 private_->AddLogMessage(level, header, message); |
| 200 } | 201 } |
| 201 | 202 |
| 202 void GpuDataManagerImpl::ProcessCrashed( | 203 void GpuDataManagerImpl::ProcessCrashed( |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 } | 271 } |
| 271 | 272 |
| 272 GpuDataManagerImpl::GpuDataManagerImpl() | 273 GpuDataManagerImpl::GpuDataManagerImpl() |
| 273 : private_(GpuDataManagerImplPrivate::Create(this)) { | 274 : private_(GpuDataManagerImplPrivate::Create(this)) { |
| 274 } | 275 } |
| 275 | 276 |
| 276 GpuDataManagerImpl::~GpuDataManagerImpl() { | 277 GpuDataManagerImpl::~GpuDataManagerImpl() { |
| 277 } | 278 } |
| 278 | 279 |
| 279 } // namespace content | 280 } // namespace content |
| OLD | NEW |