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

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

Issue 1507893005: Remove const qualifier from function return type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_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.
« no previous file with comments | « chrome/browser/extensions/api/copresence/copresence_api.cc ('k') | components/copresence/rpc/rpc_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698