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

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

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 bool complete_gpu_info_already_requested_; 228 bool complete_gpu_info_already_requested_;
229 229
230 std::set<int> blacklisted_features_; 230 std::set<int> blacklisted_features_;
231 std::set<int> preliminary_blacklisted_features_; 231 std::set<int> preliminary_blacklisted_features_;
232 232
233 std::set<int> gpu_driver_bugs_; 233 std::set<int> gpu_driver_bugs_;
234 234
235 gpu::GPUInfo gpu_info_; 235 gpu::GPUInfo gpu_info_;
236 236
237 scoped_ptr<gpu::GpuBlacklist> gpu_blacklist_; 237 std::unique_ptr<gpu::GpuBlacklist> gpu_blacklist_;
238 scoped_ptr<gpu::GpuDriverBugList> gpu_driver_bug_list_; 238 std::unique_ptr<gpu::GpuDriverBugList> gpu_driver_bug_list_;
239 239
240 const scoped_refptr<GpuDataManagerObserverList> observer_list_; 240 const scoped_refptr<GpuDataManagerObserverList> observer_list_;
241 241
242 std::vector<LogMessage> log_messages_; 242 std::vector<LogMessage> log_messages_;
243 243
244 bool use_swiftshader_; 244 bool use_swiftshader_;
245 245
246 base::FilePath swiftshader_path_; 246 base::FilePath swiftshader_path_;
247 247
248 // Current card force-blacklisted due to GPU crashes, or disabled through 248 // Current card force-blacklisted due to GPU crashes, or disabled through
(...skipping 26 matching lines...) Expand all
275 // If one tries to call a member before initialization then it is defered 275 // If one tries to call a member before initialization then it is defered
276 // until Initialize() is completed. 276 // until Initialize() is completed.
277 std::vector<base::Closure> post_init_tasks_; 277 std::vector<base::Closure> post_init_tasks_;
278 278
279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
280 }; 280 };
281 281
282 } // namespace content 282 } // namespace content
283 283
284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698