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

Side by Side Diff: chrome/browser/sync/backend_migrator.h

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_
6 #define CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ 6 #define CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 syncer::UserShare* user_share_; 89 syncer::UserShare* user_share_;
90 ProfileSyncService* service_; 90 ProfileSyncService* service_;
91 DataTypeManager* manager_; 91 DataTypeManager* manager_;
92 92
93 State state_; 93 State state_;
94 94
95 ObserverList<MigrationObserver> migration_observers_; 95 ObserverList<MigrationObserver> migration_observers_;
96 96
97 syncer::ModelTypeSet to_migrate_; 97 syncer::ModelTypeSet to_migrate_;
98 98
99 base::Closure migration_done_callback_;
100
99 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; 101 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_;
100 102
101 base::Closure migration_done_callback_;
102
103 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); 103 DISALLOW_COPY_AND_ASSIGN(BackendMigrator);
104 }; 104 };
105 105
106 } // namespace browser_sync 106 } // namespace browser_sync
107 107
108 #endif // CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ 108 #endif // CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/backend_migrator.cc » ('j') | sync/notifier/non_blocking_invalidator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698