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

Side by Side Diff: chrome/browser/chromeos/drive/drive_system_service.h

Issue 14493009: drive: Rename DriveScheduler to JobScheduler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indent Created 7 years, 8 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_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/threading/sequenced_worker_pool.h" 15 #include "base/threading/sequenced_worker_pool.h"
16 #include "chrome/browser/chromeos/drive/drive_file_system_util.h" 16 #include "chrome/browser/chromeos/drive/drive_file_system_util.h"
17 #include "chrome/browser/chromeos/drive/drive_scheduler.h"
18 #include "chrome/browser/chromeos/drive/file_errors.h" 17 #include "chrome/browser/chromeos/drive/file_errors.h"
18 #include "chrome/browser/chromeos/drive/job_scheduler.h"
19 #include "chrome/browser/profiles/profile_keyed_service.h" 19 #include "chrome/browser/profiles/profile_keyed_service.h"
20 #include "chrome/browser/profiles/profile_keyed_service_factory.h" 20 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
21 #include "sync/notifier/invalidation_handler.h" 21 #include "sync/notifier/invalidation_handler.h"
22 22
23 namespace base { 23 namespace base {
24 class FilePath; 24 class FilePath;
25 } 25 }
26 26
27 namespace google_apis { 27 namespace google_apis {
28 class DriveServiceInterface; 28 class DriveServiceInterface;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 Profile* profile_; 156 Profile* profile_;
157 // True if Drive is disabled due to initialization errors. 157 // True if Drive is disabled due to initialization errors.
158 bool drive_disabled_; 158 bool drive_disabled_;
159 159
160 // True once this is registered to listen to the Drive updates. 160 // True once this is registered to listen to the Drive updates.
161 bool push_notification_registered_; 161 bool push_notification_registered_;
162 162
163 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 163 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
164 scoped_ptr<DriveCache, util::DestroyHelper> cache_; 164 scoped_ptr<DriveCache, util::DestroyHelper> cache_;
165 scoped_ptr<google_apis::DriveServiceInterface> drive_service_; 165 scoped_ptr<google_apis::DriveServiceInterface> drive_service_;
166 scoped_ptr<DriveScheduler> scheduler_; 166 scoped_ptr<JobScheduler> scheduler_;
167 scoped_ptr<DriveWebAppsRegistry> webapps_registry_; 167 scoped_ptr<DriveWebAppsRegistry> webapps_registry_;
168 scoped_ptr<DriveResourceMetadata, util::DestroyHelper> resource_metadata_; 168 scoped_ptr<DriveResourceMetadata, util::DestroyHelper> resource_metadata_;
169 scoped_ptr<DriveFileSystemInterface> file_system_; 169 scoped_ptr<DriveFileSystemInterface> file_system_;
170 scoped_ptr<FileWriteHelper> file_write_helper_; 170 scoped_ptr<FileWriteHelper> file_write_helper_;
171 scoped_ptr<DownloadHandler> download_handler_; 171 scoped_ptr<DownloadHandler> download_handler_;
172 scoped_ptr<SyncClient> sync_client_; 172 scoped_ptr<SyncClient> sync_client_;
173 scoped_ptr<DrivePrefetcher> prefetcher_; 173 scoped_ptr<DrivePrefetcher> prefetcher_;
174 scoped_ptr<StaleCacheFilesRemover> stale_cache_files_remover_; 174 scoped_ptr<StaleCacheFilesRemover> stale_cache_files_remover_;
175 scoped_refptr<FileSystemProxy> file_system_proxy_; 175 scoped_refptr<FileSystemProxy> file_system_proxy_;
176 176
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // ProfileKeyedServiceFactory: 228 // ProfileKeyedServiceFactory:
229 virtual ProfileKeyedService* BuildServiceInstanceFor( 229 virtual ProfileKeyedService* BuildServiceInstanceFor(
230 Profile* profile) const OVERRIDE; 230 Profile* profile) const OVERRIDE;
231 231
232 FactoryCallback factory_for_test_; 232 FactoryCallback factory_for_test_;
233 }; 233 };
234 234
235 } // namespace drive 235 } // namespace drive
236 236
237 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_ 237 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler_unittest.cc ('k') | chrome/browser/chromeos/drive/drive_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698