| 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_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_ | |
| 6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_ | |
| 7 | |
| 8 namespace mojo { | |
| 9 | |
| 10 // Observer of events on from the NetworkServiceDelegate. | |
| 11 // | |
| 12 // Observers should be registered on the main thread. | |
| 13 class NetworkServiceDelegateObserver { | |
| 14 public: | |
| 15 ~NetworkServiceDelegateObserver() {} | |
| 16 | |
| 17 // Broadcast right before we attempt to shutdown the IO worker thread. This | |
| 18 // is | |
| 19 virtual void OnIOWorkerThreadShutdown() = 0; | |
| 20 }; | |
| 21 | |
| 22 } // namespace mojo | |
| 23 | |
| 24 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_ | |
| OLD | NEW |