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

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

Issue 671573003: Adding support for authenticated copresence calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing histograms Created 6 years, 2 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: components/copresence/public/copresence_delegate.h
diff --git a/components/copresence/public/copresence_delegate.h b/components/copresence/public/copresence_delegate.h
index 0b83087c201b4c703c2e689cd292b7d8a01da775..b1b1fdd969bfe57e3baa7dc2d28acdec57b7c192 100644
--- a/components/copresence/public/copresence_delegate.h
+++ b/components/copresence/public/copresence_delegate.h
@@ -38,7 +38,8 @@ class CopresenceDelegate {
virtual const std::string GetPlatformVersionString() const = 0;
- virtual const std::string GetAPIKey() const = 0;
+ virtual const std::string GetAPIKey(const std::string& app_id) const = 0;
+ virtual const std::string GetAuthToken(const std::string& app_id) const = 0;
virtual WhispernetClient* GetWhispernetClient() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698