Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / mojo / services / network / network_service_delegate_observer.h
blobd205b674eececf8b848a31d7d66e7a798de04d70
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.
5 #ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_
6 #define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_
8 namespace mojo {
10 // Observer of events on from the NetworkServiceDelegate.
12 // Observers should be registered on the main thread.
13 class NetworkServiceDelegateObserver {
14 public:
15 ~NetworkServiceDelegateObserver() {}
17 // Broadcast right before we attempt to shutdown the IO worker thread. This
18 // is
19 virtual void OnIOWorkerThreadShutdown() = 0;
22 } // namespace mojo
24 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_