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

Unified Diff: components/copresence/public/copresence_manager.h

Issue 806853003: Revert of Revert of Adding CopresenceState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: components/copresence/public/copresence_manager.h
diff --git a/components/copresence/public/copresence_manager.h b/components/copresence/public/copresence_manager.h
index 960c601bd1958e031b333edac2044dd560b2676f..e82740b6f314aadf6e19859cac3e2d7d81740634 100644
--- a/components/copresence/public/copresence_manager.h
+++ b/components/copresence/public/copresence_manager.h
@@ -12,6 +12,7 @@
namespace copresence {
+class CopresenceState;
class ReportRequest;
// The CopresenceManager class is the central interface for Copresence
@@ -22,6 +23,9 @@
public:
CopresenceManager() {}
virtual ~CopresenceManager() {}
+
+ // Accessor for the CopresenceState instance that tracks debug info.
+ virtual CopresenceState* state() = 0;
// This method will execute a report request. Each report request can have
// multiple (un)publishes, (un)subscribes. This will ensure that once the
« no previous file with comments | « components/copresence/public/copresence_constants.h ('k') | components/copresence/public/copresence_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698