Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / invalidation / sync_system_resources_unittest.cc
index d264b60..3501f1e 100644 (file)
@@ -54,7 +54,7 @@ class SyncSystemResourcesTest : public testing::Test {
             scoped_ptr<notifier::PushClient>(new notifier::FakePushClient())),
         sync_system_resources_(&push_client_channel_, &mock_state_writer_) {}
 
-  virtual ~SyncSystemResourcesTest() {}
+  ~SyncSystemResourcesTest() override {}
 
   void ScheduleShouldNotRun() {
     {
@@ -179,25 +179,21 @@ TEST_F(SyncSystemResourcesTest, WriteState) {
 class TestSyncNetworkChannel : public SyncNetworkChannel {
  public:
   TestSyncNetworkChannel() {}
-  virtual ~TestSyncNetworkChannel() {}
+  ~TestSyncNetworkChannel() override {}
 
   using SyncNetworkChannel::NotifyNetworkStatusChange;
   using SyncNetworkChannel::NotifyChannelStateChange;
   using SyncNetworkChannel::DeliverIncomingMessage;
 
-  virtual void SendMessage(const std::string& message) OVERRIDE {
-  }
+  void SendMessage(const std::string& message) override {}
 
-  virtual void UpdateCredentials(const std::string& email,
-      const std::string& token) OVERRIDE {
-  }
+  void UpdateCredentials(const std::string& email,
+                         const std::string& token) override {}
 
-  virtual int GetInvalidationClientType() OVERRIDE {
-    return 0;
-  }
+  int GetInvalidationClientType() override { return 0; }
 
-  virtual void RequestDetailedStatus(
-      base::Callback<void(const base::DictionaryValue&)> callback) OVERRIDE {
+  void RequestDetailedStatus(
+      base::Callback<void(const base::DictionaryValue&)> callback) override {
     base::DictionaryValue value;
     callback.Run(value);
   }
@@ -216,12 +212,10 @@ class SyncNetworkChannelTest
             this, &SyncNetworkChannelTest::OnNetworkStatusChange));
   }
 
-  virtual ~SyncNetworkChannelTest() {
-    network_channel_.RemoveObserver(this);
-  }
+  ~SyncNetworkChannelTest() override { network_channel_.RemoveObserver(this); }
 
-  virtual void OnNetworkChannelStateChanged(
-      InvalidatorState invalidator_state) OVERRIDE {
+  void OnNetworkChannelStateChanged(
+      InvalidatorState invalidator_state) override {
     last_invalidator_state_ = invalidator_state;
   }