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

Side by Side Diff: components/sync/driver/glue/sync_backend_host_core.h

Issue 2551023006: [Sync] SyncEngine 1.5: Fix all backend references in PSS. (Closed)
Patch Set: Fix Android. Created 4 years 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 COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // The timer used to periodically call SaveChanges. 284 // The timer used to periodically call SaveChanges.
285 std::unique_ptr<base::RepeatingTimer> save_changes_timer_; 285 std::unique_ptr<base::RepeatingTimer> save_changes_timer_;
286 286
287 // Our encryptor, which uses Chrome's encryption functions. 287 // Our encryptor, which uses Chrome's encryption functions.
288 SystemEncryptor encryptor_; 288 SystemEncryptor encryptor_;
289 289
290 // The top-level syncapi entry point. Lives on the sync thread. 290 // The top-level syncapi entry point. Lives on the sync thread.
291 std::unique_ptr<SyncManager> sync_manager_; 291 std::unique_ptr<SyncManager> sync_manager_;
292 292
293 // Temporary holder of sync manager's initialization results. Set by 293 // Temporary holder of sync manager's initialization results. Set by
294 // OnInitializeComplete, and consumed when we pass it via OnBackendInitialized 294 // OnInitializeComplete, and consumed when we pass it via OnEngineInitialized
295 // in the final state of HandleInitializationSuccessOnFrontendLoop. 295 // in the final state of HandleInitializationSuccessOnFrontendLoop.
296 WeakHandle<JsBackend> js_backend_; 296 WeakHandle<JsBackend> js_backend_;
297 WeakHandle<DataTypeDebugInfoListener> debug_info_listener_; 297 WeakHandle<DataTypeDebugInfoListener> debug_info_listener_;
298 298
299 // These signals allow us to send requests to shut down the HttpBridgeFactory 299 // These signals allow us to send requests to shut down the HttpBridgeFactory
300 // and ServerConnectionManager without having to wait for those classes to 300 // and ServerConnectionManager without having to wait for those classes to
301 // finish initializing first. 301 // finish initializing first.
302 // 302 //
303 // See comments in SyncBackendHostCore::ShutdownOnUIThread() for more details. 303 // See comments in SyncBackendHostCore::ShutdownOnUIThread() for more details.
304 CancelationSignal release_request_context_signal_; 304 CancelationSignal release_request_context_signal_;
(...skipping 15 matching lines...) Expand all
320 base::ThreadChecker thread_checker_; 320 base::ThreadChecker thread_checker_;
321 321
322 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; 322 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
323 323
324 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); 324 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore);
325 }; 325 };
326 326
327 } // namespace syncer 327 } // namespace syncer
328 328
329 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_ 329 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_CORE_H_
OLDNEW
« no previous file with comments | « components/sync/driver/fake_sync_service.cc ('k') | components/sync/driver/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698