Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 ModulesInitializer_h | 5 #ifndef ModulesInitializer_h |
| 6 #define ModulesInitializer_h | 6 #define ModulesInitializer_h |
| 7 | 7 |
| 8 #include "core/CoreInitializer.h" | 8 #include "core/CoreInitializer.h" |
| 9 #include "modules/ModulesExport.h" | 9 #include "modules/ModulesExport.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class MODULES_EXPORT ModulesInitializer : public CoreInitializer { | 13 class MODULES_EXPORT ModulesInitializer : public CoreInitializer { |
| 14 public: | 14 public: |
| 15 void initialize() override; | 15 void initialize() override; |
| 16 void shutdown() override; | 16 void shutdown() override; |
| 17 void initializeMojo(); | |
|
blundell
2016/10/18 12:32:11
I'm not sure on Blink conventions re: comments on
| |
| 18 | |
| 19 private: | |
| 20 bool m_isMojoInitialized = false; | |
| 17 }; | 21 }; |
| 18 | 22 |
| 19 } // namespace blink | 23 } // namespace blink |
| 20 | 24 |
| 21 #endif // ModulesInitializer_h | 25 #endif // ModulesInitializer_h |
| OLD | NEW |