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

Side by Side Diff: chrome/browser/policy/cloud/cloud_policy_invalidator.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Whether the invalidator currently has the ability to receive invalidations. 65 // Whether the invalidator currently has the ability to receive invalidations.
66 bool invalidations_enabled() { 66 bool invalidations_enabled() {
67 return invalidations_enabled_; 67 return invalidations_enabled_;
68 } 68 }
69 69
70 // syncer::InvalidationHandler: 70 // syncer::InvalidationHandler:
71 virtual void OnInvalidatorStateChange( 71 virtual void OnInvalidatorStateChange(
72 syncer::InvalidatorState state) OVERRIDE; 72 syncer::InvalidatorState state) OVERRIDE;
73 virtual void OnIncomingInvalidation( 73 virtual void OnIncomingInvalidation(
74 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; 74 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
75 virtual std::string GetOwnerName() const OVERRIDE;
75 76
76 // CloudPolicyCore::Observer: 77 // CloudPolicyCore::Observer:
77 virtual void OnCoreConnected(CloudPolicyCore* core) OVERRIDE; 78 virtual void OnCoreConnected(CloudPolicyCore* core) OVERRIDE;
78 virtual void OnRefreshSchedulerStarted(CloudPolicyCore* core) OVERRIDE; 79 virtual void OnRefreshSchedulerStarted(CloudPolicyCore* core) OVERRIDE;
79 virtual void OnCoreDisconnecting(CloudPolicyCore* core) OVERRIDE; 80 virtual void OnCoreDisconnecting(CloudPolicyCore* core) OVERRIDE;
80 81
81 // CloudPolicyStore::Observer: 82 // CloudPolicyStore::Observer:
82 virtual void OnStoreLoaded(CloudPolicyStore* store) OVERRIDE; 83 virtual void OnStoreLoaded(CloudPolicyStore* store) OVERRIDE;
83 virtual void OnStoreError(CloudPolicyStore* store) OVERRIDE; 84 virtual void OnStoreError(CloudPolicyStore* store) OVERRIDE;
84 85
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // A thread checker to make sure that callbacks are invoked on the correct 186 // A thread checker to make sure that callbacks are invoked on the correct
186 // thread. 187 // thread.
187 base::ThreadChecker thread_checker_; 188 base::ThreadChecker thread_checker_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator); 190 DISALLOW_COPY_AND_ASSIGN(CloudPolicyInvalidator);
190 }; 191 };
191 192
192 } // namespace policy 193 } // namespace policy
193 194
194 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_ 195 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_INVALIDATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/invalidation/ticl_invalidation_service.cc ('k') | chrome/browser/policy/cloud/cloud_policy_invalidator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698