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

Side by Side Diff: chrome/browser/chromeos/file_manager/volume_manager_factory.cc

Issue 1148293006: Rename service/service_factory of file_system_provider and launcher_search_provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lsp Created 5 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/file_manager/volume_manager_factory.h" 5 #include "chrome/browser/chromeos/file_manager/volume_manager_factory.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 9 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
10 #include "chrome/browser/chromeos/file_manager/volume_manager.h" 10 #include "chrome/browser/chromeos/file_manager/volume_manager.h"
11 #include "chrome/browser/chromeos/file_system_provider/service_factory.h" 11 #include "chrome/browser/chromeos/file_system_provider/file_system_provider_serv ice_factory.h"
12 #include "chrome/browser/profiles/incognito_helpers.h" 12 #include "chrome/browser/profiles/incognito_helpers.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chromeos/dbus/dbus_thread_manager.h" 14 #include "chromeos/dbus/dbus_thread_manager.h"
15 #include "chromeos/disks/disk_mount_manager.h" 15 #include "chromeos/disks/disk_mount_manager.h"
16 #include "components/keyed_service/content/browser_context_dependency_manager.h" 16 #include "components/keyed_service/content/browser_context_dependency_manager.h"
17 17
18 namespace file_manager { 18 namespace file_manager {
19 19
20 VolumeManager* VolumeManagerFactory::Get(content::BrowserContext* context) { 20 VolumeManager* VolumeManagerFactory::Get(content::BrowserContext* context) {
21 return static_cast<VolumeManager*>( 21 return static_cast<VolumeManager*>(
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 "VolumeManagerFactory", 58 "VolumeManagerFactory",
59 BrowserContextDependencyManager::GetInstance()) { 59 BrowserContextDependencyManager::GetInstance()) {
60 DependsOn(drive::DriveIntegrationServiceFactory::GetInstance()); 60 DependsOn(drive::DriveIntegrationServiceFactory::GetInstance());
61 DependsOn(chromeos::file_system_provider::ServiceFactory::GetInstance()); 61 DependsOn(chromeos::file_system_provider::ServiceFactory::GetInstance());
62 } 62 }
63 63
64 VolumeManagerFactory::~VolumeManagerFactory() { 64 VolumeManagerFactory::~VolumeManagerFactory() {
65 } 65 }
66 66
67 } // namespace file_manager 67 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698