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

Unified Diff: components/arc/arc_bridge_service.h

Issue 2031143002: Add unit tests for ArcBridgeService::RemoveObserver() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | components/arc/arc_bridge_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_bridge_service.h
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h
index fb2ef4299b3e59025447f9d5e8c67bca2b6ba100..cd6793fc80dfb19089f001332dee5ec8cfdf1f13 100644
--- a/components/arc/arc_bridge_service.h
+++ b/components/arc/arc_bridge_service.h
@@ -177,7 +177,8 @@ class ArcBridgeService : public mojom::ArcBridgeHost {
virtual void Shutdown() = 0;
// Adds or removes observers. This can only be called on the thread that this
- // class was created on.
+ // class was created on. RemoveObserver does nothing if |observer| is not in
+ // the list.
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
« no previous file with comments | « no previous file | components/arc/arc_bridge_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698