| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_ | |
| 6 #define MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "mojo/edk/system/system_impl_export.h" | |
| 10 | |
| 11 namespace mojo { | |
| 12 namespace edk { | |
| 13 | |
| 14 // An interface for process delegates. | |
| 15 class MOJO_SYSTEM_IMPL_EXPORT ProcessDelegate { | |
| 16 public: | |
| 17 // Called when |ShutdownIPCSupport()| has completed work on the I/O thread. | |
| 18 virtual void OnShutdownComplete() = 0; | |
| 19 | |
| 20 protected: | |
| 21 ProcessDelegate() {} | |
| 22 virtual ~ProcessDelegate() {} | |
| 23 | |
| 24 private: | |
| 25 DISALLOW_COPY_AND_ASSIGN(ProcessDelegate); | |
| 26 }; | |
| 27 | |
| 28 } // namespace edk | |
| 29 } // namespace mojo | |
| 30 | |
| 31 #endif // MOJO_EDK_EMBEDDER_PROCESS_DELEGATE_H_ | |
| OLD | NEW |