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

Unified Diff: chrome/browser/extensions/api/copresence/copresence_api.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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/copresence/copresence_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/copresence/copresence_api.h
diff --git a/chrome/browser/extensions/api/copresence/copresence_api.h b/chrome/browser/extensions/api/copresence/copresence_api.h
index 92d9fa97903e07c3cbb8462e7ba5a84f2c8a6029..b383af4b7830bfb1ddb2cecdffaf5a5e5c4bffb4 100644
--- a/chrome/browser/extensions/api/copresence/copresence_api.h
+++ b/chrome/browser/extensions/api/copresence/copresence_api.h
@@ -56,7 +56,7 @@ class CopresenceService final : public BrowserContextKeyedAPI,
return apps_by_subscription_id_;
}
- const std::string auth_token(const std::string& app_id) const;
+ std::string auth_token(const std::string& app_id) const;
void set_api_key(const std::string& app_id,
const std::string& api_key);
@@ -86,11 +86,11 @@ class CopresenceService final : public BrowserContextKeyedAPI,
const std::vector<copresence::Message>& message) override;
void HandleStatusUpdate(copresence::CopresenceStatus status) override;
net::URLRequestContextGetter* GetRequestContext() const override;
- const std::string GetPlatformVersionString() const override;
- const std::string GetAPIKey(const std::string& app_id) const override;
+ std::string GetPlatformVersionString() const override;
+ std::string GetAPIKey(const std::string& app_id) const override;
audio_modem::WhispernetClient* GetWhispernetClient() override;
gcm::GCMDriver* GetGCMDriver() override;
- const std::string GetDeviceId(bool authenticated) override;
+ std::string GetDeviceId(bool authenticated) override;
void SaveDeviceId(bool authenticated, const std::string& device_id) override;
// BrowserContextKeyedAPI implementation.
« no previous file with comments | « no previous file | chrome/browser/extensions/api/copresence/copresence_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698