| 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 #include "gpu/ipc/common/memory_stats.h" | 8 #include "gpu/ipc/common/memory_stats.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...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_->AppendRendererCommandLine(command_line); | 156 private_->AppendRendererCommandLine(command_line); |
| 157 } | 157 } |
| 158 | 158 |
| 159 void GpuDataManagerImpl::AppendGpuCommandLine( | 159 void GpuDataManagerImpl::AppendGpuCommandLine( |
| 160 base::CommandLine* command_line) const { | 160 base::CommandLine* command_line) const { |
| 161 base::AutoLock auto_lock(lock_); | 161 base::AutoLock auto_lock(lock_); |
| 162 private_->AppendGpuCommandLine(command_line); | 162 private_->AppendGpuCommandLine(command_line); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void GpuDataManagerImpl::AppendPluginCommandLine( | |
| 166 base::CommandLine* command_line) const { | |
| 167 base::AutoLock auto_lock(lock_); | |
| 168 private_->AppendPluginCommandLine(command_line); | |
| 169 } | |
| 170 | |
| 171 void GpuDataManagerImpl::UpdateRendererWebPrefs( | 165 void GpuDataManagerImpl::UpdateRendererWebPrefs( |
| 172 WebPreferences* prefs) const { | 166 WebPreferences* prefs) const { |
| 173 base::AutoLock auto_lock(lock_); | 167 base::AutoLock auto_lock(lock_); |
| 174 private_->UpdateRendererWebPrefs(prefs); | 168 private_->UpdateRendererWebPrefs(prefs); |
| 175 } | 169 } |
| 176 | 170 |
| 177 std::string GpuDataManagerImpl::GetBlacklistVersion() const { | 171 std::string GpuDataManagerImpl::GetBlacklistVersion() const { |
| 178 base::AutoLock auto_lock(lock_); | 172 base::AutoLock auto_lock(lock_); |
| 179 return private_->GetBlacklistVersion(); | 173 return private_->GetBlacklistVersion(); |
| 180 } | 174 } |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 } | 267 } |
| 274 | 268 |
| 275 GpuDataManagerImpl::GpuDataManagerImpl() | 269 GpuDataManagerImpl::GpuDataManagerImpl() |
| 276 : private_(GpuDataManagerImplPrivate::Create(this)) { | 270 : private_(GpuDataManagerImplPrivate::Create(this)) { |
| 277 } | 271 } |
| 278 | 272 |
| 279 GpuDataManagerImpl::~GpuDataManagerImpl() { | 273 GpuDataManagerImpl::~GpuDataManagerImpl() { |
| 280 } | 274 } |
| 281 | 275 |
| 282 } // namespace content | 276 } // namespace content |
| OLD | NEW |