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

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

Issue 469883002: Using API key specified from js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding fingerprint test Created 6 years, 4 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_client_delegate.h
diff --git a/components/copresence/public/copresence_client_delegate.h b/components/copresence/public/copresence_client_delegate.h
index 7698aecf5c119e7a0a77a078c32f12dc0c8a0d0f..0d64063a7077a7ecc66a363eacaacb6ffd6fe4ea 100644
--- a/components/copresence/public/copresence_client_delegate.h
+++ b/components/copresence/public/copresence_client_delegate.h
@@ -16,6 +16,7 @@ class URLRequestContextGetter;
namespace copresence {
+class DeviceFingerprint;
class Message;
class WhispernetClient;
@@ -35,8 +36,8 @@ class CopresenceClientDelegate {
const std::vector<Message>& message) = 0;
virtual net::URLRequestContextGetter* GetRequestContext() const = 0;
-
- virtual const std::string GetPlatformVersionString() const = 0;
+ virtual const DeviceFingerprint& GetDeviceFingerprint() const = 0;
rkc 2014/08/13 21:45:31 This proto can be constructed on the Copresence si
Charlie 2014/08/13 22:53:37 The client already depends on our protos, because
rkc 2014/08/13 23:11:36 Report request is is required for every report to
+ virtual const std::string& GetAPIKey() const = 0;
virtual WhispernetClient* GetWhispernetClient() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698