Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Side by Side Diff: chrome/browser/chromeos/drive/drive_integration_service.cc

Issue 1314803004: Move chrome/browser/chromeos/drive/file_system.cc (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/drive/drive_integration_service.h" 5 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/prefs/pref_change_registrar.h" 9 #include "base/prefs/pref_change_registrar.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/threading/sequenced_worker_pool.h" 12 #include "base/threading/sequenced_worker_pool.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/chrome_notification_types.h" 14 #include "chrome/browser/chrome_notification_types.h"
15 #include "chrome/browser/chromeos/drive/debug_info_collector.h" 15 #include "chrome/browser/chromeos/drive/debug_info_collector.h"
16 #include "chrome/browser/chromeos/drive/download_handler.h" 16 #include "chrome/browser/chromeos/drive/download_handler.h"
17 #include "chrome/browser/chromeos/drive/file_system.h"
18 #include "chrome/browser/chromeos/drive/file_system_util.h" 17 #include "chrome/browser/chromeos/drive/file_system_util.h"
19 #include "chrome/browser/chromeos/file_manager/path_util.h" 18 #include "chrome/browser/chromeos/file_manager/path_util.h"
20 #include "chrome/browser/chromeos/profiles/profile_util.h" 19 #include "chrome/browser/chromeos/profiles/profile_util.h"
21 #include "chrome/browser/download/download_prefs.h" 20 #include "chrome/browser/download/download_prefs.h"
22 #include "chrome/browser/download/download_service.h" 21 #include "chrome/browser/download/download_service.h"
23 #include "chrome/browser/download/download_service_factory.h" 22 #include "chrome/browser/download/download_service_factory.h"
24 #include "chrome/browser/drive/drive_notification_manager_factory.h" 23 #include "chrome/browser/drive/drive_notification_manager_factory.h"
25 #include "chrome/browser/profiles/incognito_helpers.h" 24 #include "chrome/browser/profiles/incognito_helpers.h"
26 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 26 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
28 #include "chrome/browser/signin/signin_manager_factory.h" 27 #include "chrome/browser/signin/signin_manager_factory.h"
29 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
30 #include "chrome/grit/generated_resources.h" 29 #include "chrome/grit/generated_resources.h"
31 #include "components/drive/drive_api_util.h" 30 #include "components/drive/drive_api_util.h"
32 #include "components/drive/drive_app_registry.h" 31 #include "components/drive/drive_app_registry.h"
33 #include "components/drive/drive_notification_manager.h" 32 #include "components/drive/drive_notification_manager.h"
34 #include "components/drive/drive_pref_names.h" 33 #include "components/drive/drive_pref_names.h"
35 #include "components/drive/event_logger.h" 34 #include "components/drive/event_logger.h"
36 #include "components/drive/file_cache.h" 35 #include "components/drive/file_cache.h"
36 #include "components/drive/file_system.h"
37 #include "components/drive/job_scheduler.h" 37 #include "components/drive/job_scheduler.h"
38 #include "components/drive/resource_metadata.h" 38 #include "components/drive/resource_metadata.h"
39 #include "components/drive/resource_metadata_storage.h" 39 #include "components/drive/resource_metadata_storage.h"
40 #include "components/drive/service/drive_api_service.h" 40 #include "components/drive/service/drive_api_service.h"
41 #include "components/keyed_service/content/browser_context_dependency_manager.h" 41 #include "components/keyed_service/content/browser_context_dependency_manager.h"
42 #include "components/signin/core/browser/profile_oauth2_token_service.h" 42 #include "components/signin/core/browser/profile_oauth2_token_service.h"
43 #include "components/signin/core/browser/signin_manager.h" 43 #include "components/signin/core/browser/signin_manager.h"
44 #include "components/version_info/version_info.h" 44 #include "components/version_info/version_info.h"
45 #include "content/public/browser/browser_context.h" 45 #include "content/public/browser/browser_context.h"
46 #include "content/public/browser/browser_thread.h" 46 #include "content/public/browser/browser_thread.h"
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 profile, preference_watcher, 642 profile, preference_watcher,
643 NULL, std::string(), base::FilePath(), NULL); 643 NULL, std::string(), base::FilePath(), NULL);
644 } else { 644 } else {
645 service = factory_for_test_->Run(profile); 645 service = factory_for_test_->Run(profile);
646 } 646 }
647 647
648 return service; 648 return service;
649 } 649 }
650 650
651 } // namespace drive 651 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698