| 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/drive_system_service.h" | 5 #include "chrome/browser/chromeos/gdata/drive_system_service.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/chromeos/gdata/drive_api_service.h" | 9 #include "chrome/browser/chromeos/gdata/drive_api_service.h" |
| 10 #include "chrome/browser/chromeos/gdata/drive_download_observer.h" | 10 #include "chrome/browser/chromeos/gdata/drive_download_observer.h" |
| 11 #include "chrome/browser/chromeos/gdata/drive_file_system.h" | 11 #include "chrome/browser/chromeos/gdata/drive_file_system.h" |
| 12 #include "chrome/browser/chromeos/gdata/drive_file_system_proxy.h" | 12 #include "chrome/browser/chromeos/gdata/drive_file_system_proxy.h" |
| 13 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" | 13 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" |
| 14 #include "chrome/browser/chromeos/gdata/drive_sync_client.h" | 14 #include "chrome/browser/chromeos/gdata/drive_sync_client.h" |
| 15 #include "chrome/browser/chromeos/gdata/drive_uploader.h" | 15 #include "chrome/browser/chromeos/gdata/drive_uploader.h" |
| 16 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" | 16 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" |
| 17 #include "chrome/browser/chromeos/gdata/file_write_helper.h" | 17 #include "chrome/browser/chromeos/gdata/file_write_helper.h" |
| 18 #include "chrome/browser/chromeos/gdata/gdata_util.h" | |
| 19 #include "chrome/browser/chromeos/gdata/gdata_wapi_service.h" | 18 #include "chrome/browser/chromeos/gdata/gdata_wapi_service.h" |
| 20 #include "chrome/browser/chromeos/gdata/stale_cache_files_remover.h" | 19 #include "chrome/browser/chromeos/gdata/stale_cache_files_remover.h" |
| 21 #include "chrome/browser/download/download_service.h" | 20 #include "chrome/browser/download/download_service.h" |
| 22 #include "chrome/browser/download/download_service_factory.h" | 21 #include "chrome/browser/download/download_service_factory.h" |
| 22 #include "chrome/browser/google_apis/gdata_util.h" |
| 23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
| 24 #include "chrome/browser/profiles/profile_dependency_manager.h" | 24 #include "chrome/browser/profiles/profile_dependency_manager.h" |
| 25 #include "content/public/browser/browser_context.h" | 25 #include "content/public/browser/browser_context.h" |
| 26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
| 27 #include "webkit/fileapi/file_system_context.h" | 27 #include "webkit/fileapi/file_system_context.h" |
| 28 #include "webkit/fileapi/file_system_mount_point_provider.h" | 28 #include "webkit/fileapi/file_system_mount_point_provider.h" |
| 29 | 29 |
| 30 using content::BrowserContext; | 30 using content::BrowserContext; |
| 31 using content::BrowserThread; | 31 using content::BrowserThread; |
| 32 | 32 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 g_test_cache_root ? FilePath(*g_test_cache_root) : | 224 g_test_cache_root ? FilePath(*g_test_cache_root) : |
| 225 DriveCache::GetCacheRootPath(profile); | 225 DriveCache::GetCacheRootPath(profile); |
| 226 delete g_test_cache_root; | 226 delete g_test_cache_root; |
| 227 g_test_cache_root = NULL; | 227 g_test_cache_root = NULL; |
| 228 | 228 |
| 229 service->Initialize(drive_service, cache_root); | 229 service->Initialize(drive_service, cache_root); |
| 230 return service; | 230 return service; |
| 231 } | 231 } |
| 232 | 232 |
| 233 } // namespace gdata | 233 } // namespace gdata |
| OLD | NEW |