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

Unified Diff: Source/modules/filesystem/SyncCallbackHelper.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/modules/filesystem/LocalFileSystem.cpp ('k') | Source/modules/geofencing/CircularGeofencingRegion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/SyncCallbackHelper.h
diff --git a/Source/modules/filesystem/SyncCallbackHelper.h b/Source/modules/filesystem/SyncCallbackHelper.h
index 42999ac8ac4d8e049027f5147dafdb7792415dc6..f520ea6ae2b06527b003412814a35c6adb8062a3 100644
--- a/Source/modules/filesystem/SyncCallbackHelper.h
+++ b/Source/modules/filesystem/SyncCallbackHelper.h
@@ -63,7 +63,7 @@ public:
// A helper template for FileSystemSync implementation.
template <typename SuccessCallback, typename CallbackArg, typename ResultType>
-class SyncCallbackHelper FINAL : public GarbageCollected<SyncCallbackHelper<SuccessCallback, CallbackArg, ResultType> > {
+class SyncCallbackHelper final : public GarbageCollected<SyncCallbackHelper<SuccessCallback, CallbackArg, ResultType> > {
public:
typedef SyncCallbackHelper<SuccessCallback, CallbackArg, ResultType> HelperType;
typedef HelperResultType<ResultType, CallbackArg> ResultTypeTrait;
@@ -98,7 +98,7 @@ private:
{
}
- class SuccessCallbackImpl FINAL : public SuccessCallback {
+ class SuccessCallbackImpl final : public SuccessCallback {
public:
static SuccessCallbackImpl* create(HelperType* helper)
{
@@ -123,14 +123,14 @@ private:
Persistent<HelperType> m_helper;
};
- class ErrorCallbackImpl FINAL : public ErrorCallback {
+ class ErrorCallbackImpl final : public ErrorCallback {
public:
static ErrorCallbackImpl* create(HelperType* helper)
{
return new ErrorCallbackImpl(helper);
}
- virtual void handleEvent(FileError* error) OVERRIDE
+ virtual void handleEvent(FileError* error) override
{
ASSERT(error);
m_helper->setError(error->code());
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.cpp ('k') | Source/modules/geofencing/CircularGeofencingRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698