Index: chrome/browser/chromeos/extensions/file_manager/volume_manager_factory.h |
diff --git a/chrome/browser/chromeos/extensions/file_manager/volume_manager_factory.h b/chrome/browser/chromeos/extensions/file_manager/volume_manager_factory.h |
deleted file mode 100644 |
index 00501486d56077a8d5eeaf78785cb497f50aea92..0000000000000000000000000000000000000000 |
--- a/chrome/browser/chromeos/extensions/file_manager/volume_manager_factory.h |
+++ /dev/null |
@@ -1,52 +0,0 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "base/basictypes.h" |
-#include "components/browser_context_keyed_service/browser_context_keyed_service_factory.h" |
- |
-#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_VOLUME_MANAGER_FACTORY_H_ |
-#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_VOLUME_MANAGER_FACTORY_H_ |
- |
-template<typename T> struct DefaultSingletonTraits; |
- |
-namespace content { |
-class BrowserContext; |
-} // namespace content |
- |
-namespace file_manager { |
- |
-class VolumeManager; |
- |
-// Factory to create VolumeManager. |
-class VolumeManagerFactory : public BrowserContextKeyedServiceFactory { |
- public: |
- // Returns VolumeManager instance. |
- static VolumeManager* Get(content::BrowserContext* context); |
- |
- static VolumeManagerFactory* GetInstance(); |
- |
- protected: |
- // BrowserContextKeyedBaseFactory overrides: |
- virtual content::BrowserContext* GetBrowserContextToUse( |
- content::BrowserContext* context) const OVERRIDE; |
- virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; |
- virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; |
- |
- // BrowserContextKeyedServiceFactory overrides: |
- virtual BrowserContextKeyedService* BuildServiceInstanceFor( |
- content::BrowserContext* profile) const OVERRIDE; |
- |
- private: |
- // For Singleton. |
- friend struct DefaultSingletonTraits<VolumeManagerFactory>; |
- |
- VolumeManagerFactory(); |
- virtual ~VolumeManagerFactory(); |
- |
- DISALLOW_COPY_AND_ASSIGN(VolumeManagerFactory); |
-}; |
- |
-} // namespace file_manager |
- |
-#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_VOLUME_MANAGER_FACTORY_H_ |