OLD | NEW |
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_GDATA_GDATA_SYSTEM_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_SYSTEM_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_SYSTEM_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_SYSTEM_SERVICE_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/chromeos/gdata/gdata_file_system.h" | 9 #include "base/memory/singleton.h" |
| 10 #include "base/threading/sequenced_worker_pool.h" |
10 #include "chrome/browser/profiles/profile_keyed_service.h" | 11 #include "chrome/browser/profiles/profile_keyed_service.h" |
11 #include "chrome/browser/profiles/profile_keyed_service_factory.h" | 12 #include "chrome/browser/profiles/profile_keyed_service_factory.h" |
12 | 13 |
13 namespace gdata { | 14 namespace gdata { |
14 | 15 |
15 class DocumentsServiceInterface; | 16 class DocumentsServiceInterface; |
16 class DriveWebAppsRegistry; | 17 class DriveWebAppsRegistry; |
| 18 class GDataCache; |
17 class GDataDownloadObserver; | 19 class GDataDownloadObserver; |
18 class GDataFileSystem; | 20 class GDataFileSystem; |
19 class GDataSyncClient; | 21 class GDataSyncClient; |
20 class GDataUploader; | 22 class GDataUploader; |
21 | 23 |
22 // GDataSystemService runs the GData system, including the GData file system | 24 // GDataSystemService runs the GData system, including the GData file system |
23 // implementation for the file manager, and some other sub systems. | 25 // implementation for the file manager, and some other sub systems. |
24 // | 26 // |
25 // The class is essentially a container that manages lifetime of the objects | 27 // The class is essentially a container that manages lifetime of the objects |
26 // that are used to run the GData system. The GDataSystemService object is | 28 // that are used to run the GData system. The GDataSystemService object is |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual ~GDataSystemServiceFactory(); | 96 virtual ~GDataSystemServiceFactory(); |
95 | 97 |
96 // ProfileKeyedServiceFactory: | 98 // ProfileKeyedServiceFactory: |
97 virtual ProfileKeyedService* BuildServiceInstanceFor( | 99 virtual ProfileKeyedService* BuildServiceInstanceFor( |
98 Profile* profile) const OVERRIDE; | 100 Profile* profile) const OVERRIDE; |
99 }; | 101 }; |
100 | 102 |
101 } // namespace gdata | 103 } // namespace gdata |
102 | 104 |
103 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_SYSTEM_SERVICE_H_ | 105 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_SYSTEM_SERVICE_H_ |
OLD | NEW |