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

Side by Side Diff: mojo/edk/system/core.h

Issue 2930533003: Minor fixes to Mojo MemoryDumpProvider. (Closed)
Patch Set: comments from ssid. Created 3 years, 6 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 | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/core.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 MOJO_EDK_SYSTEM_CORE_H_ 5 #ifndef MOJO_EDK_SYSTEM_CORE_H_
6 #define MOJO_EDK_SYSTEM_CORE_H_ 6 #define MOJO_EDK_SYSTEM_CORE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 base::Lock node_controller_lock_; 292 base::Lock node_controller_lock_;
293 293
294 // This is lazily initialized on first access. Always use GetNodeController() 294 // This is lazily initialized on first access. Always use GetNodeController()
295 // to access it. 295 // to access it.
296 std::unique_ptr<NodeController> node_controller_; 296 std::unique_ptr<NodeController> node_controller_;
297 297
298 // The default callback to invoke, if any, when a process error is reported 298 // The default callback to invoke, if any, when a process error is reported
299 // but cannot be associated with a specific process. 299 // but cannot be associated with a specific process.
300 ProcessErrorCallback default_process_error_callback_; 300 ProcessErrorCallback default_process_error_callback_;
301 301
302 HandleTable handles_; 302 std::unique_ptr<HandleTable> handles_;
303 303
304 base::Lock mapping_table_lock_; // Protects |mapping_table_|. 304 base::Lock mapping_table_lock_; // Protects |mapping_table_|.
305 MappingTable mapping_table_; 305 MappingTable mapping_table_;
306 306
307 base::Lock property_lock_; 307 base::Lock property_lock_;
308 // Properties that can be read using the MojoGetProperty() API. 308 // Properties that can be read using the MojoGetProperty() API.
309 bool property_sync_call_allowed_ = true; 309 bool property_sync_call_allowed_ = true;
310 310
311 DISALLOW_COPY_AND_ASSIGN(Core); 311 DISALLOW_COPY_AND_ASSIGN(Core);
312 }; 312 };
313 313
314 } // namespace edk 314 } // namespace edk
315 } // namespace mojo 315 } // namespace mojo
316 316
317 #endif // MOJO_EDK_SYSTEM_CORE_H_ 317 #endif // MOJO_EDK_SYSTEM_CORE_H_
OLDNEW
« no previous file with comments | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698