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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_core.h

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 | Annotate | Revision Log
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_CORE_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 9
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 base::MessageLoop* sync_loop_; 283 base::MessageLoop* sync_loop_;
284 284
285 // Our parent's registrar (not owned). Non-NULL only between 285 // Our parent's registrar (not owned). Non-NULL only between
286 // calls to DoInitialize() and DoShutdown(). 286 // calls to DoInitialize() and DoShutdown().
287 SyncBackendRegistrar* registrar_; 287 SyncBackendRegistrar* registrar_;
288 288
289 // The timer used to periodically call SaveChanges. 289 // The timer used to periodically call SaveChanges.
290 scoped_ptr<base::RepeatingTimer<SyncBackendHostCore> > save_changes_timer_; 290 scoped_ptr<base::RepeatingTimer<SyncBackendHostCore> > save_changes_timer_;
291 291
292 // Our encryptor, which uses Chrome's encryption functions. 292 // Our encryptor, which uses Chrome's encryption functions.
293 SystemEncryptor encryptor_; 293 sync_driver::SystemEncryptor encryptor_;
294 294
295 // A special ChangeProcessor that tracks the DEVICE_INFO type for us. 295 // A special ChangeProcessor that tracks the DEVICE_INFO type for us.
296 scoped_ptr<SyncedDeviceTracker> synced_device_tracker_; 296 scoped_ptr<SyncedDeviceTracker> synced_device_tracker_;
297 297
298 // The top-level syncapi entry point. Lives on the sync thread. 298 // The top-level syncapi entry point. Lives on the sync thread.
299 scoped_ptr<syncer::SyncManager> sync_manager_; 299 scoped_ptr<syncer::SyncManager> sync_manager_;
300 300
301 // Temporary holder of sync manager's initialization results. Set by 301 // Temporary holder of sync manager's initialization results. Set by
302 // OnInitializeComplete, and consumed when we pass it via OnBackendInitialized 302 // OnInitializeComplete, and consumed when we pass it via OnBackendInitialized
303 // in the final state of HandleInitializationSuccessOnFrontendLoop. 303 // in the final state of HandleInitializationSuccessOnFrontendLoop.
(...skipping 23 matching lines...) Expand all
327 std::string signin_scoped_device_id_; 327 std::string signin_scoped_device_id_;
328 328
329 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; 329 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
330 330
331 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); 331 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore);
332 }; 332 };
333 333
334 } // namespace browser_sync 334 } // namespace browser_sync
335 335
336 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 336 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.h ('k') | chrome/browser/sync/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698