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

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

Issue 712833002: Undoing revert, cl is not the cause of gcm crash on canary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
Patch Set: Created 6 years, 1 month 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 | « components/copresence/proto/push_message.proto ('k') | components/copresence/rpc/rpc_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/public/copresence_delegate.h
diff --git a/components/copresence/public/copresence_delegate.h b/components/copresence/public/copresence_delegate.h
index b8a01bf1377d822430f27dc32a8137347cfda46b..e138d663516b10d021b4e96a0ea1e92c26f02a41 100644
--- a/components/copresence/public/copresence_delegate.h
+++ b/components/copresence/public/copresence_delegate.h
@@ -10,6 +10,10 @@
#include "base/callback_forward.h"
+namespace gcm {
+class GCMDriver;
+}
+
namespace net {
class URLRequestContextGetter;
}
@@ -49,6 +53,10 @@ class CopresenceDelegate {
// Thw WhispernetClient must outlive the CopresenceManager.
virtual WhispernetClient* GetWhispernetClient() = 0;
+
+ // Clients may optionally provide a GCMDriver to receive messages from.
+ // If no driver is available, this can return null.
+ virtual gcm::GCMDriver* GetGCMDriver() = 0;
};
} // namespace copresence
« no previous file with comments | « components/copresence/proto/push_message.proto ('k') | components/copresence/rpc/rpc_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698