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_
10 // Observer of events on from the NetworkServiceDelegate.
12 // Observers should be registered on the main thread.
13 class NetworkServiceDelegateObserver
{
15 ~NetworkServiceDelegateObserver() {}
17 // Broadcast right before we attempt to shutdown the IO worker thread. This
19 virtual void OnIOWorkerThreadShutdown() = 0;
24 #endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_