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_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "chrome/browser/chromeos/drive/file_errors.h" | 13 #include "chrome/browser/chromeos/drive/file_errors.h" |
14 #include "chrome/browser/chromeos/drive/file_system_util.h" | 14 #include "chrome/browser/chromeos/drive/file_system_core_util.h" |
15 #include "chrome/browser/chromeos/drive/job_scheduler.h" | 15 #include "chrome/browser/chromeos/drive/job_scheduler.h" |
16 #include "chrome/browser/drive/drive_notification_observer.h" | 16 #include "chrome/browser/drive/drive_notification_observer.h" |
17 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 17 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
18 #include "components/keyed_service/core/keyed_service.h" | 18 #include "components/keyed_service/core/keyed_service.h" |
19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
21 | 21 |
| 22 class Profile; |
| 23 |
22 namespace base { | 24 namespace base { |
23 class FilePath; | 25 class FilePath; |
24 class SequencedTaskRunner; | 26 class SequencedTaskRunner; |
25 } | 27 } |
26 | 28 |
27 namespace drive { | 29 namespace drive { |
28 | 30 |
29 class DebugInfoCollector; | 31 class DebugInfoCollector; |
30 class DownloadHandler; | 32 class DownloadHandler; |
31 class DriveAppRegistry; | 33 class DriveAppRegistry; |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // allows factory creation to be delayed until it normally happens (on profile | 237 // allows factory creation to be delayed until it normally happens (on profile |
236 // creation) rather than when tests are set up. DriveIntegrationServiceFactory | 238 // creation) rather than when tests are set up. DriveIntegrationServiceFactory |
237 // transitively depends on ExtensionSystemFactory which crashes if created too | 239 // transitively depends on ExtensionSystemFactory which crashes if created too |
238 // soon (i.e. before the BrowserProcess exists). | 240 // soon (i.e. before the BrowserProcess exists). |
239 static FactoryCallback* factory_for_test_; | 241 static FactoryCallback* factory_for_test_; |
240 }; | 242 }; |
241 | 243 |
242 } // namespace drive | 244 } // namespace drive |
243 | 245 |
244 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ | 246 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ |
OLD | NEW |