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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_impl.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_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 virtual void Observe( 253 virtual void Observe(
254 int type, 254 int type,
255 const content::NotificationSource& source, 255 const content::NotificationSource& source,
256 const content::NotificationDetails& details) OVERRIDE; 256 const content::NotificationDetails& details) OVERRIDE;
257 257
258 // InvalidationHandler implementation. 258 // InvalidationHandler implementation.
259 virtual void OnInvalidatorStateChange( 259 virtual void OnInvalidatorStateChange(
260 syncer::InvalidatorState state) OVERRIDE; 260 syncer::InvalidatorState state) OVERRIDE;
261 virtual void OnIncomingInvalidation( 261 virtual void OnIncomingInvalidation(
262 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE; 262 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
263 virtual std::string GetOwnerName() const OVERRIDE;
263 264
264 content::NotificationRegistrar notification_registrar_; 265 content::NotificationRegistrar notification_registrar_;
265 266
266 // A reference to the MessageLoop used to construct |this|, so we know how 267 // A reference to the MessageLoop used to construct |this|, so we know how
267 // to safely talk back to the SyncFrontend. 268 // to safely talk back to the SyncFrontend.
268 base::MessageLoop* const frontend_loop_; 269 base::MessageLoop* const frontend_loop_;
269 270
270 Profile* const profile_; 271 Profile* const profile_;
271 272
272 // Name used for debugging (set from profile_->GetDebugName()). 273 // Name used for debugging (set from profile_->GetDebugName()).
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 317
317 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 318 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
318 319
319 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 320 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
320 }; 321 };
321 322
322 } // namespace browser_sync 323 } // namespace browser_sync
323 324
324 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 325 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
325 326
OLDNEW
« no previous file with comments | « chrome/browser/resources/about_invalidations.js ('k') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698