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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_engine.h

Issue 294893005: [SyncFS] Make GetOriginStatusMap asynchronous (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/sync_engine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const SyncStatusCallback& callback) OVERRIDE; 83 const SyncStatusCallback& callback) OVERRIDE;
84 virtual void UninstallOrigin( 84 virtual void UninstallOrigin(
85 const GURL& origin, 85 const GURL& origin,
86 UninstallFlag flag, 86 UninstallFlag flag,
87 const SyncStatusCallback& callback) OVERRIDE; 87 const SyncStatusCallback& callback) OVERRIDE;
88 virtual void ProcessRemoteChange(const SyncFileCallback& callback) OVERRIDE; 88 virtual void ProcessRemoteChange(const SyncFileCallback& callback) OVERRIDE;
89 virtual void SetRemoteChangeProcessor( 89 virtual void SetRemoteChangeProcessor(
90 RemoteChangeProcessor* processor) OVERRIDE; 90 RemoteChangeProcessor* processor) OVERRIDE;
91 virtual LocalChangeProcessor* GetLocalChangeProcessor() OVERRIDE; 91 virtual LocalChangeProcessor* GetLocalChangeProcessor() OVERRIDE;
92 virtual RemoteServiceState GetCurrentState() const OVERRIDE; 92 virtual RemoteServiceState GetCurrentState() const OVERRIDE;
93 virtual void GetOriginStatusMap(OriginStatusMap* status_map) OVERRIDE; 93 virtual void GetOriginStatusMap(const StatusMapCallback& callback) OVERRIDE;
94 virtual void DumpFiles(const GURL& origin, 94 virtual void DumpFiles(const GURL& origin,
95 const ListCallback& callback) OVERRIDE; 95 const ListCallback& callback) OVERRIDE;
96 virtual void DumpDatabase(const ListCallback& callback) OVERRIDE; 96 virtual void DumpDatabase(const ListCallback& callback) OVERRIDE;
97 virtual void SetSyncEnabled(bool enabled) OVERRIDE; 97 virtual void SetSyncEnabled(bool enabled) OVERRIDE;
98 virtual void PromoteDemotedChanges() OVERRIDE; 98 virtual void PromoteDemotedChanges() OVERRIDE;
99 99
100 // LocalChangeProcessor overrides. 100 // LocalChangeProcessor overrides.
101 virtual void ApplyLocalChange( 101 virtual void ApplyLocalChange(
102 const FileChange& local_change, 102 const FileChange& local_change,
103 const base::FilePath& local_path, 103 const base::FilePath& local_path,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 scoped_refptr<base::SequencedTaskRunner> worker_task_runner_; 172 scoped_refptr<base::SequencedTaskRunner> worker_task_runner_;
173 173
174 base::WeakPtrFactory<SyncEngine> weak_ptr_factory_; 174 base::WeakPtrFactory<SyncEngine> weak_ptr_factory_;
175 DISALLOW_COPY_AND_ASSIGN(SyncEngine); 175 DISALLOW_COPY_AND_ASSIGN(SyncEngine);
176 }; 176 };
177 177
178 } // namespace drive_backend 178 } // namespace drive_backend
179 } // namespace sync_file_system 179 } // namespace sync_file_system
180 180
181 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_ 181 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/sync_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698