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

Unified Diff: mojo/examples/pepper_container_app/mojo_ppapi_globals.cc

Issue 623573002: Mojo: Convert the remaining OVERRIDEs to override in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
diff --git a/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc b/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
index a98ddc776f438bd9d7970125bbf3ddd7ef51a49e..c9e7a2be2a33df1536e3755008aeefcde8dac0e8 100644
--- a/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
+++ b/mojo/examples/pepper_container_app/mojo_ppapi_globals.cc
@@ -5,6 +5,7 @@
#include "mojo/examples/pepper_container_app/mojo_ppapi_globals.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop_proxy.h"
#include "base/time/time.h"
#include "mojo/examples/pepper_container_app/plugin_instance.h"
@@ -35,37 +36,37 @@ class MojoPpapiGlobals::MainThreadMessageLoopResource
// ppapi::MessageLoopShared implementation.
virtual void PostClosure(const tracked_objects::Location& from_here,
const base::Closure& closure,
- int64 delay_ms) OVERRIDE {
+ int64 delay_ms) override {
main_thread_message_loop_->PostDelayedTask(
from_here, closure, base::TimeDelta::FromMilliseconds(delay_ms));
}
- virtual base::MessageLoopProxy* GetMessageLoopProxy() OVERRIDE {
+ virtual base::MessageLoopProxy* GetMessageLoopProxy() override {
return main_thread_message_loop_.get();
}
- virtual bool CurrentlyHandlingBlockingMessage() OVERRIDE {
+ virtual bool CurrentlyHandlingBlockingMessage() override {
return false;
}
// ppapi::thunk::PPB_MessageLoop_API implementation.
- virtual int32_t AttachToCurrentThread() OVERRIDE {
+ virtual int32_t AttachToCurrentThread() override {
NOTIMPLEMENTED();
return PP_ERROR_FAILED;
}
- virtual int32_t Run() OVERRIDE {
+ virtual int32_t Run() override {
NOTIMPLEMENTED();
return PP_ERROR_FAILED;
}
virtual int32_t PostWork(PP_CompletionCallback callback,
- int64_t delay_ms) OVERRIDE {
+ int64_t delay_ms) override {
NOTIMPLEMENTED();
return PP_ERROR_FAILED;
}
- virtual int32_t PostQuit(PP_Bool should_destroy) OVERRIDE {
+ virtual int32_t PostQuit(PP_Bool should_destroy) override {
NOTIMPLEMENTED();
return PP_ERROR_FAILED;
}
« no previous file with comments | « mojo/examples/pepper_container_app/mojo_ppapi_globals.h ('k') | mojo/examples/pepper_container_app/pepper_container_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698