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

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

Issue 23892008: Move VolumeManager to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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/extensions/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/extensions/file_manager/volume_manager.h" 9 #include "chrome/browser/chromeos/file_manager/volume_manager.h"
10 #include "chrome/browser/profiles/incognito_helpers.h" 10 #include "chrome/browser/profiles/incognito_helpers.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chromeos/disks/disk_mount_manager.h" 12 #include "chromeos/disks/disk_mount_manager.h"
13 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h" 13 #include "components/browser_context_keyed_service/browser_context_dependency_ma nager.h"
14 14
15 namespace file_manager { 15 namespace file_manager {
16 16
17 VolumeManager* VolumeManagerFactory::Get(content::BrowserContext* context) { 17 VolumeManager* VolumeManagerFactory::Get(content::BrowserContext* context) {
18 return static_cast<VolumeManager*>( 18 return static_cast<VolumeManager*>(
19 GetInstance()->GetServiceForBrowserContext(context, true)); 19 GetInstance()->GetServiceForBrowserContext(context, true));
(...skipping 29 matching lines...) Expand all
49 VolumeManagerFactory::VolumeManagerFactory() 49 VolumeManagerFactory::VolumeManagerFactory()
50 : BrowserContextKeyedServiceFactory( 50 : BrowserContextKeyedServiceFactory(
51 "VolumeManagerFactory", 51 "VolumeManagerFactory",
52 BrowserContextDependencyManager::GetInstance()) { 52 BrowserContextDependencyManager::GetInstance()) {
53 } 53 }
54 54
55 VolumeManagerFactory::~VolumeManagerFactory() { 55 VolumeManagerFactory::~VolumeManagerFactory() {
56 } 56 }
57 57
58 } // namespace file_manager 58 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698