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/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
13 #include "components/drive/drive_notification_observer.h" | 14 #include "components/drive/drive_notification_observer.h" |
14 #include "components/drive/file_errors.h" | 15 #include "components/drive/file_errors.h" |
15 #include "components/drive/file_system_core_util.h" | 16 #include "components/drive/file_system_core_util.h" |
16 #include "components/drive/job_scheduler.h" | 17 #include "components/drive/job_scheduler.h" |
17 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 18 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
18 #include "components/keyed_service/core/keyed_service.h" | 19 #include "components/keyed_service/core/keyed_service.h" |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // allows factory creation to be delayed until it normally happens (on profile | 238 // allows factory creation to be delayed until it normally happens (on profile |
238 // creation) rather than when tests are set up. DriveIntegrationServiceFactory | 239 // creation) rather than when tests are set up. DriveIntegrationServiceFactory |
239 // transitively depends on ExtensionSystemFactory which crashes if created too | 240 // transitively depends on ExtensionSystemFactory which crashes if created too |
240 // soon (i.e. before the BrowserProcess exists). | 241 // soon (i.e. before the BrowserProcess exists). |
241 static FactoryCallback* factory_for_test_; | 242 static FactoryCallback* factory_for_test_; |
242 }; | 243 }; |
243 | 244 |
244 } // namespace drive | 245 } // namespace drive |
245 | 246 |
246 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ | 247 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_INTEGRATION_SERVICE_H_ |
OLD | NEW |