Index: chrome/browser/extensions/api/gcm/gcm_api.h |
diff --git a/chrome/browser/extensions/api/gcm/gcm_api.h b/chrome/browser/extensions/api/gcm/gcm_api.h |
index 01a21ccf92491dd2a0399dec5b511d3a0cd41626..b6b33d2b1c6d621b392032d6fdc8f51a8e75e7c1 100644 |
--- a/chrome/browser/extensions/api/gcm/gcm_api.h |
+++ b/chrome/browser/extensions/api/gcm/gcm_api.h |
@@ -23,10 +23,10 @@ class GcmApiFunction : public AsyncExtensionFunction { |
GcmApiFunction() {} |
protected: |
- virtual ~GcmApiFunction() {} |
+ ~GcmApiFunction() override {} |
// ExtensionFunction: |
- virtual bool RunAsync() override final; |
+ bool RunAsync() final; |
// Actual implementation of specific functions. |
virtual bool DoWork() = 0; |
@@ -44,10 +44,10 @@ class GcmRegisterFunction : public GcmApiFunction { |
GcmRegisterFunction(); |
protected: |
- virtual ~GcmRegisterFunction(); |
+ ~GcmRegisterFunction() override; |
// Register function implementation. |
- virtual bool DoWork() override final; |
+ bool DoWork() final; |
private: |
void CompleteFunctionWithResult(const std::string& registration_id, |
@@ -61,10 +61,10 @@ class GcmUnregisterFunction : public GcmApiFunction { |
GcmUnregisterFunction(); |
protected: |
- virtual ~GcmUnregisterFunction(); |
+ ~GcmUnregisterFunction() override; |
// Register function implementation. |
- virtual bool DoWork() override final; |
+ bool DoWork() final; |
private: |
void CompleteFunctionWithResult(gcm::GCMClient::Result result); |
@@ -77,10 +77,10 @@ class GcmSendFunction : public GcmApiFunction { |
GcmSendFunction(); |
protected: |
- virtual ~GcmSendFunction(); |
+ ~GcmSendFunction() override; |
// Send function implementation. |
- virtual bool DoWork() override final; |
+ bool DoWork() final; |
private: |
void CompleteFunctionWithResult(const std::string& message_id, |