Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1458)

Unified Diff: mojo/services/network/network_service_delegate_observer.h

Issue 1231493002: mandoline filesystem: Save cookie data to the mojo:filesystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/services/network/network_service_delegate_observer.h
diff --git a/mojo/services/network/network_service_delegate_observer.h b/mojo/services/network/network_service_delegate_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..d205b674eececf8b848a31d7d66e7a798de04d70
--- /dev/null
+++ b/mojo/services/network/network_service_delegate_observer.h
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_
+#define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_
+
+namespace mojo {
+
+// Observer of events on from the NetworkServiceDelegate.
+//
+// Observers should be registered on the main thread.
+class NetworkServiceDelegateObserver {
+ public:
+ ~NetworkServiceDelegateObserver() {}
+
+ // Broadcast right before we attempt to shutdown the IO worker thread. This
+ // is
+ virtual void OnIOWorkerThreadShutdown() = 0;
+};
+
+} // namespace mojo
+
+#endif // MOJO_SERVICES_NETWORK_NETWORK_SERVICE_DELEGATE_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698