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

Side by Side Diff: components/invalidation/invalidator_storage.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 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 COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_ 5 #ifndef COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_
6 #define COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_ 6 #define COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // Register prefs to be used by per-Profile instances of this class which 31 // Register prefs to be used by per-Profile instances of this class which
32 // store invalidation state in Profile prefs. 32 // store invalidation state in Profile prefs.
33 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 33 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
34 34
35 // Register prefs to be used by a device-global instance of this class which 35 // Register prefs to be used by a device-global instance of this class which
36 // stores invalidation state in local state. This is used on Chrome OS only. 36 // stores invalidation state in local state. This is used on Chrome OS only.
37 static void RegisterPrefs(PrefRegistrySimple* registry); 37 static void RegisterPrefs(PrefRegistrySimple* registry);
38 38
39 // InvalidationStateTracker implementation. 39 // InvalidationStateTracker implementation.
40 virtual void ClearAndSetNewClientId(const std::string& client_id) OVERRIDE; 40 virtual void ClearAndSetNewClientId(const std::string& client_id) override;
41 virtual std::string GetInvalidatorClientId() const OVERRIDE; 41 virtual std::string GetInvalidatorClientId() const override;
42 virtual void SetBootstrapData(const std::string& data) OVERRIDE; 42 virtual void SetBootstrapData(const std::string& data) override;
43 virtual std::string GetBootstrapData() const OVERRIDE; 43 virtual std::string GetBootstrapData() const override;
44 virtual void SetSavedInvalidations( 44 virtual void SetSavedInvalidations(
45 const syncer::UnackedInvalidationsMap& map) OVERRIDE; 45 const syncer::UnackedInvalidationsMap& map) override;
46 virtual syncer::UnackedInvalidationsMap GetSavedInvalidations() 46 virtual syncer::UnackedInvalidationsMap GetSavedInvalidations()
47 const OVERRIDE; 47 const override;
48 virtual void Clear() OVERRIDE; 48 virtual void Clear() override;
49 49
50 private: 50 private:
51 base::ThreadChecker thread_checker_; 51 base::ThreadChecker thread_checker_;
52 52
53 PrefService* const pref_service_; 53 PrefService* const pref_service_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(InvalidatorStorage); 55 DISALLOW_COPY_AND_ASSIGN(InvalidatorStorage);
56 }; 56 };
57 57
58 } // namespace invalidation 58 } // namespace invalidation
59 59
60 #endif // COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_ 60 #endif // COMPONENTS_INVALIDATION_INVALIDATOR_STORAGE_H_
OLDNEW
« no previous file with comments | « components/invalidation/invalidator_registrar_unittest.cc ('k') | components/invalidation/invalidator_test_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698