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

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

Issue 2569413002: Don't block GPU process access in single-process mode. (Closed)
Patch Set: update comments Created 4 years 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 | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 GpuDataManagerImpl* owner_; 262 GpuDataManagerImpl* owner_;
263 263
264 bool gpu_process_accessible_; 264 bool gpu_process_accessible_;
265 265
266 // True if Initialize() has been completed. 266 // True if Initialize() has been completed.
267 bool is_initialized_; 267 bool is_initialized_;
268 268
269 // True if all future Initialize calls should be ignored. 269 // True if all future Initialize calls should be ignored.
270 bool finalized_; 270 bool finalized_;
271 271
272 // True if --single-process or --in-process-gpu is passed in.
273 bool in_process_gpu_;
274
272 std::string disabled_extensions_; 275 std::string disabled_extensions_;
273 276
274 // If one tries to call a member before initialization then it is defered 277 // If one tries to call a member before initialization then it is defered
275 // until Initialize() is completed. 278 // until Initialize() is completed.
276 std::vector<base::Closure> post_init_tasks_; 279 std::vector<base::Closure> post_init_tasks_;
277 280
278 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 281 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
279 }; 282 };
280 283
281 } // namespace content 284 } // namespace content
282 285
283 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 286 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698