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

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

Issue 324343002: [SyncFS] Support late authentication (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WORKER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_WORKER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_WORKER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_WORKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 virtual void ApplyLocalChange( 119 virtual void ApplyLocalChange(
120 const FileChange& local_change, 120 const FileChange& local_change,
121 const base::FilePath& local_path, 121 const base::FilePath& local_path,
122 const SyncFileMetadata& local_metadata, 122 const SyncFileMetadata& local_metadata,
123 const fileapi::FileSystemURL& url, 123 const fileapi::FileSystemURL& url,
124 const SyncStatusCallback& callback) OVERRIDE; 124 const SyncStatusCallback& callback) OVERRIDE;
125 125
126 virtual void OnNotificationReceived() OVERRIDE; 126 virtual void OnNotificationReceived() OVERRIDE;
127 127
128 virtual void OnReadyToSendRequests(const std::string& account_id) OVERRIDE; 128 virtual void OnReadyToSendRequests() OVERRIDE;
129 virtual void OnRefreshTokenInvalid() OVERRIDE; 129 virtual void OnRefreshTokenInvalid() OVERRIDE;
130 130
131 virtual void OnNetworkChanged( 131 virtual void OnNetworkChanged(
132 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE; 132 net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
133 133
134 virtual drive::DriveServiceInterface* GetDriveService() OVERRIDE; 134 virtual drive::DriveServiceInterface* GetDriveService() OVERRIDE;
135 virtual drive::DriveUploaderInterface* GetDriveUploader() OVERRIDE; 135 virtual drive::DriveUploaderInterface* GetDriveUploader() OVERRIDE;
136 virtual MetadataDatabase* GetMetadataDatabase() OVERRIDE; 136 virtual MetadataDatabase* GetMetadataDatabase() OVERRIDE;
137 virtual SyncTaskManager* GetSyncTaskManager() OVERRIDE; 137 virtual SyncTaskManager* GetSyncTaskManager() OVERRIDE;
138 138
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 base::SequenceChecker sequence_checker_; 202 base::SequenceChecker sequence_checker_;
203 203
204 base::WeakPtrFactory<SyncWorker> weak_ptr_factory_; 204 base::WeakPtrFactory<SyncWorker> weak_ptr_factory_;
205 DISALLOW_COPY_AND_ASSIGN(SyncWorker); 205 DISALLOW_COPY_AND_ASSIGN(SyncWorker);
206 }; 206 };
207 207
208 } // namespace drive_backend 208 } // namespace drive_backend
209 } // namespace sync_file_system 209 } // namespace sync_file_system
210 210
211 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_WORKER_H_ 211 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_WORKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698