Index: components/copresence/public/copresence_delegate.h |
diff --git a/components/copresence/public/copresence_delegate.h b/components/copresence/public/copresence_delegate.h |
index fff786b4aa2d933696b65339cc9a2f0d51b35589..8f83bdb409f89add4ea2444d268fb640c89ea1f0 100644 |
--- a/components/copresence/public/copresence_delegate.h |
+++ b/components/copresence/public/copresence_delegate.h |
@@ -48,9 +48,9 @@ class CopresenceDelegate { |
// Thw URLRequestContextGetter must outlive the CopresenceManager. |
virtual net::URLRequestContextGetter* GetRequestContext() const = 0; |
- virtual const std::string GetPlatformVersionString() const = 0; |
+ virtual std::string GetPlatformVersionString() const = 0; |
- virtual const std::string GetAPIKey(const std::string& app_id) const = 0; |
+ virtual std::string GetAPIKey(const std::string& app_id) const = 0; |
// The WhispernetClient must outlive the CopresenceManager. |
virtual audio_modem::WhispernetClient* GetWhispernetClient() = 0; |
@@ -61,7 +61,7 @@ class CopresenceDelegate { |
// Get the copresence device ID for authenticated or anonymous calls, |
// as specified. If none exists, return the empty string. |
- virtual const std::string GetDeviceId(bool authenticated) = 0; |
+ virtual std::string GetDeviceId(bool authenticated) = 0; |
// Save a copresence device ID for authenticated or anonymous calls. |
// If the device ID is empty, any stored ID should be deleted. |