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

Side by Side Diff: chrome/browser/invalidation/ticl_invalidation_service.h

Issue 159773006: [invalidations] Added table with registered objectsIds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_invalidations_clean
Patch Set: Change constness of iterators for android clang Created 6 years, 10 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_INVALIDATION_TICL_INVALIDATION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_INVALIDATION_TICL_INVALIDATION_SERVICE_H_
6 #define CHROME_BROWSER_INVALIDATION_TICL_INVALIDATION_SERVICE_H_ 6 #define CHROME_BROWSER_INVALIDATION_TICL_INVALIDATION_SERVICE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/threading/non_thread_safe.h" 9 #include "base/threading/non_thread_safe.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // OAuth2TokenService::Observer implementation 78 // OAuth2TokenService::Observer implementation
79 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; 79 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE;
80 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE; 80 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
81 81
82 // syncer::InvalidationHandler implementation. 82 // syncer::InvalidationHandler implementation.
83 virtual void OnInvalidatorStateChange( 83 virtual void OnInvalidatorStateChange(
84 syncer::InvalidatorState state) OVERRIDE; 84 syncer::InvalidatorState state) OVERRIDE;
85 virtual void OnIncomingInvalidation( 85 virtual void OnIncomingInvalidation(
86 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; 86 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
87 virtual std::string GetOwnerName() const OVERRIDE;
87 88
88 // Overrides BrowserContextKeyedService method. 89 // Overrides BrowserContextKeyedService method.
89 virtual void Shutdown() OVERRIDE; 90 virtual void Shutdown() OVERRIDE;
90 91
91 protected: 92 protected:
92 // Initializes with an injected invalidator. 93 // Initializes with an injected invalidator.
93 void InitForTest(syncer::Invalidator* invalidator); 94 void InitForTest(syncer::Invalidator* invalidator);
94 95
95 friend class TiclInvalidationServiceTestDelegate; 96 friend class TiclInvalidationServiceTestDelegate;
96 97
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // The invalidation logger object we use to record state changes 132 // The invalidation logger object we use to record state changes
132 // and invalidations. 133 // and invalidations.
133 InvalidationLogger logger_; 134 InvalidationLogger logger_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(TiclInvalidationService); 136 DISALLOW_COPY_AND_ASSIGN(TiclInvalidationService);
136 }; 137 };
137 138
138 } // namespace invalidation 139 } // namespace invalidation
139 140
140 #endif // CHROME_BROWSER_INVALIDATION_TICL_INVALIDATION_SERVICE_H_ 141 #endif // CHROME_BROWSER_INVALIDATION_TICL_INVALIDATION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/invalidation/p2p_invalidation_service.h ('k') | chrome/browser/invalidation/ticl_invalidation_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698