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

Side by Side Diff: sync/internal_api/sync_manager_impl.h

Issue 1144443004: Revert of [Sync] Refactoring polling to be reliable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 explicit SyncManagerImpl(const std::string& name); 67 explicit SyncManagerImpl(const std::string& name);
68 ~SyncManagerImpl() override; 68 ~SyncManagerImpl() override;
69 69
70 // SyncManager implementation. 70 // SyncManager implementation.
71 void Init(InitArgs* args) override; 71 void Init(InitArgs* args) override;
72 ModelTypeSet InitialSyncEndedTypes() override; 72 ModelTypeSet InitialSyncEndedTypes() override;
73 ModelTypeSet GetTypesWithEmptyProgressMarkerToken( 73 ModelTypeSet GetTypesWithEmptyProgressMarkerToken(
74 ModelTypeSet types) override; 74 ModelTypeSet types) override;
75 bool PurgePartiallySyncedTypes() override; 75 bool PurgePartiallySyncedTypes() override;
76 void UpdateCredentials(const SyncCredentials& credentials) override; 76 void UpdateCredentials(const SyncCredentials& credentials) override;
77 void StartSyncingNormally(const ModelSafeRoutingInfo& routing_info, 77 void StartSyncingNormally(const ModelSafeRoutingInfo& routing_info) override;
78 base::Time last_poll_time) override;
79 void ConfigureSyncer(ConfigureReason reason, 78 void ConfigureSyncer(ConfigureReason reason,
80 ModelTypeSet to_download, 79 ModelTypeSet to_download,
81 ModelTypeSet to_purge, 80 ModelTypeSet to_purge,
82 ModelTypeSet to_journal, 81 ModelTypeSet to_journal,
83 ModelTypeSet to_unapply, 82 ModelTypeSet to_unapply,
84 const ModelSafeRoutingInfo& new_routing_info, 83 const ModelSafeRoutingInfo& new_routing_info,
85 const base::Closure& ready_task, 84 const base::Closure& ready_task,
86 const base::Closure& retry_task) override; 85 const base::Closure& retry_task) override;
87 void SetInvalidatorEnabled(bool invalidator_enabled) override; 86 void SetInvalidatorEnabled(bool invalidator_enabled) override;
88 void OnIncomingInvalidation( 87 void OnIncomingInvalidation(
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 337 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
339 338
340 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 339 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
341 340
342 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 341 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
343 }; 342 };
344 343
345 } // namespace syncer 344 } // namespace syncer
346 345
347 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 346 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/test/fake_sync_manager.h ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698