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 void GpuDataManagerImpl::GetDriverBugWorkarounds( | 190 std::vector<std::string> GpuDataManagerImpl::GetDriverBugWorkarounds() const { |
191 base::ListValue* workarounds) const { | |
192 base::AutoLock auto_lock(lock_); | 191 base::AutoLock auto_lock(lock_); |
193 private_->GetDriverBugWorkarounds(workarounds); | 192 return private_->GetDriverBugWorkarounds(); |
194 } | 193 } |
195 | 194 |
196 void GpuDataManagerImpl::AddLogMessage(int level, | 195 void GpuDataManagerImpl::AddLogMessage(int level, |
197 const std::string& header, | 196 const std::string& header, |
198 const std::string& message) { | 197 const std::string& message) { |
199 base::AutoLock auto_lock(lock_); | 198 base::AutoLock auto_lock(lock_); |
200 private_->AddLogMessage(level, header, message); | 199 private_->AddLogMessage(level, header, message); |
201 } | 200 } |
202 | 201 |
203 void GpuDataManagerImpl::ProcessCrashed( | 202 void GpuDataManagerImpl::ProcessCrashed( |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 } | 270 } |
272 | 271 |
273 GpuDataManagerImpl::GpuDataManagerImpl() | 272 GpuDataManagerImpl::GpuDataManagerImpl() |
274 : private_(GpuDataManagerImplPrivate::Create(this)) { | 273 : private_(GpuDataManagerImplPrivate::Create(this)) { |
275 } | 274 } |
276 | 275 |
277 GpuDataManagerImpl::~GpuDataManagerImpl() { | 276 GpuDataManagerImpl::~GpuDataManagerImpl() { |
278 } | 277 } |
279 | 278 |
280 } // namespace content | 279 } // namespace content |
OLD | NEW |