OLD | NEW |
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_SHELL_STANDALONE_CONTEXT_H_ | 5 #ifndef MOJO_SHELL_STANDALONE_CONTEXT_H_ |
6 #define MOJO_SHELL_STANDALONE_CONTEXT_H_ | 6 #define MOJO_SHELL_STANDALONE_CONTEXT_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 scoped_refptr<base::SingleThreadTaskRunner> shell_runner_; | 68 scoped_refptr<base::SingleThreadTaskRunner> shell_runner_; |
69 scoped_ptr<base::Thread> io_thread_; | 69 scoped_ptr<base::Thread> io_thread_; |
70 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 70 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
71 | 71 |
72 // Ensure this is destructed before task_runners_ since it owns a message pipe | 72 // Ensure this is destructed before task_runners_ since it owns a message pipe |
73 // that needs the IO thread to destruct cleanly. | 73 // that needs the IO thread to destruct cleanly. |
74 Tracer tracer_; | 74 Tracer tracer_; |
75 scoped_ptr<catalog::Factory> catalog_; | 75 scoped_ptr<catalog::Factory> catalog_; |
76 scoped_ptr<Shell> shell_; | 76 scoped_ptr<Shell> shell_; |
77 base::Time main_entry_time_; | 77 base::Time main_entry_time_; |
| 78 bool init_edk_ = false; |
78 | 79 |
79 DISALLOW_COPY_AND_ASSIGN(Context); | 80 DISALLOW_COPY_AND_ASSIGN(Context); |
80 }; | 81 }; |
81 | 82 |
82 } // namespace shell | 83 } // namespace shell |
83 } // namespace mojo | 84 } // namespace mojo |
84 | 85 |
85 #endif // MOJO_SHELL_STANDALONE_CONTEXT_H_ | 86 #endif // MOJO_SHELL_STANDALONE_CONTEXT_H_ |
OLD | NEW |