summaryrefslogtreecommitdiffstats
path: root/chrome/browser/services/gcm/fake_gcm_profile_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/services/gcm/fake_gcm_profile_service.cc')
-rw-r--r--chrome/browser/services/gcm/fake_gcm_profile_service.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.cc b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
index 584b903..4855b95 100644
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
@@ -20,7 +20,7 @@ namespace {
class CustomFakeGCMDriver : public FakeGCMDriver {
public:
explicit CustomFakeGCMDriver(FakeGCMProfileService* service);
- virtual ~CustomFakeGCMDriver();
+ ~CustomFakeGCMDriver() override;
void OnRegisterFinished(const std::string& app_id,
const std::string& registration_id,
@@ -33,13 +33,12 @@ class CustomFakeGCMDriver : public FakeGCMDriver {
protected:
// FakeGCMDriver overrides:
- virtual void RegisterImpl(
- const std::string& app_id,
- const std::vector<std::string>& sender_ids) override;
- virtual void UnregisterImpl(const std::string& app_id) override;
- virtual void SendImpl(const std::string& app_id,
- const std::string& receiver_id,
- const GCMClient::OutgoingMessage& message) override;
+ void RegisterImpl(const std::string& app_id,
+ const std::vector<std::string>& sender_ids) override;
+ void UnregisterImpl(const std::string& app_id) override;
+ void SendImpl(const std::string& app_id,
+ const std::string& receiver_id,
+ const GCMClient::OutgoingMessage& message) override;
private:
FakeGCMProfileService* service_;