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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 base::AutoLock auto_lock(lock_); | 155 base::AutoLock auto_lock(lock_); |
156 private_->AppendPluginCommandLine(command_line); | 156 private_->AppendPluginCommandLine(command_line); |
157 } | 157 } |
158 | 158 |
159 void GpuDataManagerImpl::UpdateRendererWebPrefs( | 159 void GpuDataManagerImpl::UpdateRendererWebPrefs( |
160 WebPreferences* prefs) const { | 160 WebPreferences* prefs) const { |
161 base::AutoLock auto_lock(lock_); | 161 base::AutoLock auto_lock(lock_); |
162 private_->UpdateRendererWebPrefs(prefs); | 162 private_->UpdateRendererWebPrefs(prefs); |
163 } | 163 } |
164 | 164 |
165 gpu::GpuSwitchingOption GpuDataManagerImpl::GetGpuSwitchingOption() const { | |
166 base::AutoLock auto_lock(lock_); | |
167 return private_->GetGpuSwitchingOption(); | |
168 } | |
169 | |
170 std::string GpuDataManagerImpl::GetBlacklistVersion() const { | 165 std::string GpuDataManagerImpl::GetBlacklistVersion() const { |
171 base::AutoLock auto_lock(lock_); | 166 base::AutoLock auto_lock(lock_); |
172 return private_->GetBlacklistVersion(); | 167 return private_->GetBlacklistVersion(); |
173 } | 168 } |
174 | 169 |
175 std::string GpuDataManagerImpl::GetDriverBugListVersion() const { | 170 std::string GpuDataManagerImpl::GetDriverBugListVersion() const { |
176 base::AutoLock auto_lock(lock_); | 171 base::AutoLock auto_lock(lock_); |
177 return private_->GetDriverBugListVersion(); | 172 return private_->GetDriverBugListVersion(); |
178 } | 173 } |
179 | 174 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 } | 263 } |
269 | 264 |
270 GpuDataManagerImpl::GpuDataManagerImpl() | 265 GpuDataManagerImpl::GpuDataManagerImpl() |
271 : private_(GpuDataManagerImplPrivate::Create(this)) { | 266 : private_(GpuDataManagerImplPrivate::Create(this)) { |
272 } | 267 } |
273 | 268 |
274 GpuDataManagerImpl::~GpuDataManagerImpl() { | 269 GpuDataManagerImpl::~GpuDataManagerImpl() { |
275 } | 270 } |
276 | 271 |
277 } // namespace content | 272 } // namespace content |
OLD | NEW |