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

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

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « components/copresence/rpc/http_post.h ('k') | components/crash/app/breakpad_linux.cc » ('j') | 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 2bba24440312255b02b0263ebec0c96f451bbc69..39d72131045ad7ef90a7a0c8d927b87916fb8b12 100644
--- a/components/copresence/rpc/rpc_handler_unittest.cc
+++ b/components/copresence/rpc/rpc_handler_unittest.cc
@@ -51,13 +51,13 @@ class FakeDirectiveHandler : public DirectiveHandler {
virtual void Initialize(
const AudioRecorder::DecodeSamplesCallback& decode_cb,
- const AudioDirectiveHandler::EncodeTokenCallback& encode_cb) OVERRIDE {}
+ const AudioDirectiveHandler::EncodeTokenCallback& encode_cb) override {}
- virtual void AddDirective(const Directive& directive) OVERRIDE {
+ virtual void AddDirective(const Directive& directive) override {
added_directives_.push_back(directive);
}
- virtual void RemoveDirectives(const std::string& op_id) OVERRIDE {
+ virtual void RemoveDirectives(const std::string& op_id) override {
// TODO(ckehoe): Add a parallel implementation when prod has one.
}
@@ -143,24 +143,24 @@ class RpcHandlerTest : public testing::Test, public CopresenceDelegate {
virtual void HandleMessages(
const std::string& app_id,
const std::string& subscription_id,
- const std::vector<Message>& messages) OVERRIDE {
+ const std::vector<Message>& messages) override {
// app_id is unused for now, pending a server fix.
messages_by_subscription_[subscription_id] = messages;
}
- virtual net::URLRequestContextGetter* GetRequestContext() const OVERRIDE {
+ virtual net::URLRequestContextGetter* GetRequestContext() const override {
return NULL;
}
- virtual const std::string GetPlatformVersionString() const OVERRIDE {
+ virtual const std::string GetPlatformVersionString() const override {
return kChromeVersion;
}
- virtual const std::string GetAPIKey() const OVERRIDE {
+ virtual const std::string GetAPIKey() const override {
return api_key_;
}
- virtual WhispernetClient* GetWhispernetClient() OVERRIDE {
+ virtual WhispernetClient* GetWhispernetClient() override {
return NULL;
}
« no previous file with comments | « components/copresence/rpc/http_post.h ('k') | components/crash/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698