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

Side by Side Diff: chrome/browser/sync/glue/invalidation_adapter.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_GLUE_INVALIDATION_ADAPTER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_INVALIDATION_ADAPTER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_INVALIDATION_ADAPTER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_INVALIDATION_ADAPTER_H_
7 7
8 #include "components/invalidation/invalidation.h" 8 #include "components/invalidation/invalidation.h"
9 #include "sync/internal_api/public/base/invalidation_interface.h" 9 #include "sync/internal_api/public/base/invalidation_interface.h"
10 10
11 namespace browser_sync { 11 namespace browser_sync {
12 12
13 // Wraps a syncer::Invalidation in the syncer::InvalidationInterface. 13 // Wraps a syncer::Invalidation in the syncer::InvalidationInterface.
14 class InvalidationAdapter : public syncer::InvalidationInterface { 14 class InvalidationAdapter : public syncer::InvalidationInterface {
15 public: 15 public:
16 explicit InvalidationAdapter(const syncer::Invalidation& invalidation); 16 explicit InvalidationAdapter(const syncer::Invalidation& invalidation);
17 virtual ~InvalidationAdapter(); 17 virtual ~InvalidationAdapter();
18 18
19 // Implementation of InvalidationInterface. 19 // Implementation of InvalidationInterface.
20 virtual bool IsUnknownVersion() const OVERRIDE; 20 virtual bool IsUnknownVersion() const override;
21 virtual const std::string& GetPayload() const OVERRIDE; 21 virtual const std::string& GetPayload() const override;
22 virtual int64 GetVersion() const OVERRIDE; 22 virtual int64 GetVersion() const override;
23 virtual void Acknowledge() OVERRIDE; 23 virtual void Acknowledge() override;
24 virtual void Drop() OVERRIDE; 24 virtual void Drop() override;
25 25
26 private: 26 private:
27 syncer::Invalidation invalidation_; 27 syncer::Invalidation invalidation_;
28 }; 28 };
29 29
30 } // namespace browser_sync 30 } // namespace browser_sync
31 31
32 #endif // CHROME_BROWSER_SYNC_GLUE_INVALIDATION_ADAPTER_H_ 32 #endif // CHROME_BROWSER_SYNC_GLUE_INVALIDATION_ADAPTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/history_model_worker.cc ('k') | chrome/browser/sync/glue/local_device_info_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698