Index: chrome/browser/sync/invalidation_frontend.h |
diff --git a/chrome/browser/sync/invalidation_frontend.h b/chrome/browser/sync/invalidation_frontend.h |
index 3076b6138b97e9f75ceaa9c9c18c8169264eb4c2..6f19b73c0dbd48937b52e018e2d98fdbaa91790c 100644 |
--- a/chrome/browser/sync/invalidation_frontend.h |
+++ b/chrome/browser/sync/invalidation_frontend.h |
@@ -47,6 +47,12 @@ class InvalidationHandler; |
// It can also do the above in OnInvalidatorStateChange(), or it can use the |
// argument to OnInvalidatorStateChange(). |
// |
+// It is an error to have registered handlers when an |
+// InvalidationFrontend is shut down; clients must ensure that they |
+// unregister themselves before then. (Depending on the |
+// InvalidationFrontend, shutdown may be equivalent to destruction, or |
+// a separate function call like Shutdown()). |
+// |
// NOTE(akalin): Invalidations that come in during browser shutdown may get |
// dropped. This won't matter once we have an Acknowledge API, though: see |
// http://crbug.com/78462 and http://crbug.com/124149. |