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

Unified Diff: components/copresence/rpc/rpc_handler_unittest.cc

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 | « components/copresence/public/copresence_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/rpc/rpc_handler_unittest.cc
diff --git a/components/copresence/rpc/rpc_handler_unittest.cc b/components/copresence/rpc/rpc_handler_unittest.cc
index 3737eaf15d3001559cbd015d04d887ec8979df18..dabb4a2f24abb7c1b1282016961605589bc95527 100644
--- a/components/copresence/rpc/rpc_handler_unittest.cc
+++ b/components/copresence/rpc/rpc_handler_unittest.cc
@@ -75,11 +75,11 @@ class RpcHandlerTest : public testing::Test, public CopresenceDelegate {
return nullptr;
}
- const std::string GetPlatformVersionString() const override {
+ std::string GetPlatformVersionString() const override {
return kChromeVersion;
}
- const std::string GetAPIKey(const std::string& app_id) const override {
+ std::string GetAPIKey(const std::string& app_id) const override {
return app_id + " API Key";
}
@@ -92,7 +92,7 @@ class RpcHandlerTest : public testing::Test, public CopresenceDelegate {
return nullptr;
}
- const std::string GetDeviceId(bool authenticated) override {
+ std::string GetDeviceId(bool authenticated) override {
return device_id_by_auth_state_[authenticated];
}
« no previous file with comments | « components/copresence/public/copresence_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698