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 #include "chrome/browser/chromeos/gdata/gdata_system_service.h" | 5 #include "chrome/browser/chromeos/gdata/gdata_system_service.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/download/download_service.h" | |
11 #include "chrome/browser/download/download_service_factory.h" | |
12 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" | 10 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" |
13 #include "chrome/browser/chromeos/gdata/gdata_file_system_proxy.h" | |
14 #include "chrome/browser/chromeos/gdata/gdata_documents_service.h" | 11 #include "chrome/browser/chromeos/gdata/gdata_documents_service.h" |
15 #include "chrome/browser/chromeos/gdata/gdata_download_observer.h" | 12 #include "chrome/browser/chromeos/gdata/gdata_download_observer.h" |
16 #include "chrome/browser/chromeos/gdata/gdata_file_system.h" | 13 #include "chrome/browser/chromeos/gdata/gdata_file_system.h" |
| 14 #include "chrome/browser/chromeos/gdata/gdata_file_system_proxy.h" |
17 #include "chrome/browser/chromeos/gdata/gdata_sync_client.h" | 15 #include "chrome/browser/chromeos/gdata/gdata_sync_client.h" |
18 #include "chrome/browser/chromeos/gdata/gdata_uploader.h" | 16 #include "chrome/browser/chromeos/gdata/gdata_uploader.h" |
19 #include "chrome/browser/chromeos/gdata/gdata_util.h" | 17 #include "chrome/browser/chromeos/gdata/gdata_util.h" |
| 18 #include "chrome/browser/download/download_service.h" |
| 19 #include "chrome/browser/download/download_service_factory.h" |
20 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
21 #include "chrome/browser/profiles/profile_dependency_manager.h" | 21 #include "chrome/browser/profiles/profile_dependency_manager.h" |
22 #include "content/public/browser/browser_context.h" | 22 #include "content/public/browser/browser_context.h" |
23 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
24 #include "webkit/fileapi/file_system_context.h" | 24 #include "webkit/fileapi/file_system_context.h" |
25 #include "webkit/fileapi/file_system_mount_point_provider.h" | 25 #include "webkit/fileapi/file_system_mount_point_provider.h" |
26 | 26 |
27 using content::BrowserContext; | 27 using content::BrowserContext; |
28 using content::BrowserThread; | 28 using content::BrowserThread; |
29 | 29 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 } | 144 } |
145 | 145 |
146 ProfileKeyedService* GDataSystemServiceFactory::BuildServiceInstanceFor( | 146 ProfileKeyedService* GDataSystemServiceFactory::BuildServiceInstanceFor( |
147 Profile* profile) const { | 147 Profile* profile) const { |
148 GDataSystemService* service = new GDataSystemService(profile); | 148 GDataSystemService* service = new GDataSystemService(profile); |
149 service->Initialize(); | 149 service->Initialize(); |
150 return service; | 150 return service; |
151 } | 151 } |
152 | 152 |
153 } // namespace gdata | 153 } // namespace gdata |
OLD | NEW |