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

Side by Side Diff: components/sync/driver/sync_service_base.h

Issue 2710623003: [sync] Clean up path generation for the local sync database. (Closed)
Patch Set: Shuffle code around. Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SYNC_SERVICE_BASE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 std::unique_ptr<SyncEngine> engine_; 114 std::unique_ptr<SyncEngine> engine_;
115 115
116 // The list of observers of the SyncService state. 116 // The list of observers of the SyncService state.
117 base::ObserverList<SyncServiceObserver> observers_; 117 base::ObserverList<SyncServiceObserver> observers_;
118 118
119 // Used to ensure that certain operations are performed on the thread that 119 // Used to ensure that certain operations are performed on the thread that
120 // this object was created on. 120 // this object was created on.
121 base::ThreadChecker thread_checker_; 121 base::ThreadChecker thread_checker_;
122 122
123 private: 123 private:
124 bool GetLocalSyncConfig(base::FilePath* local_sync_backend_folder) const;
125 124
126 DISALLOW_COPY_AND_ASSIGN(SyncServiceBase); 125 DISALLOW_COPY_AND_ASSIGN(SyncServiceBase);
127 }; 126 };
128 127
129 } // namespace syncer 128 } // namespace syncer
130 129
131 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_ 130 #endif // COMPONENTS_SYNC_DRIVER_SYNC_SERVICE_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698