| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 static ServiceFactory* GetInstance(); | 32 static ServiceFactory* GetInstance(); |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 friend struct DefaultSingletonTraits<ServiceFactory>; | 35 friend struct DefaultSingletonTraits<ServiceFactory>; |
| 36 | 36 |
| 37 ServiceFactory(); | 37 ServiceFactory(); |
| 38 virtual ~ServiceFactory(); | 38 virtual ~ServiceFactory(); |
| 39 | 39 |
| 40 // BrowserContextKeyedServiceFactory overrides: | 40 // BrowserContextKeyedServiceFactory overrides: |
| 41 virtual KeyedService* BuildServiceInstanceFor( | 41 virtual KeyedService* BuildServiceInstanceFor( |
| 42 content::BrowserContext* profile) const OVERRIDE; | 42 content::BrowserContext* profile) const override; |
| 43 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; | 43 virtual bool ServiceIsCreatedWithBrowserContext() const override; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); | 45 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace file_system_provider | 48 } // namespace file_system_provider |
| 49 } // namespace chromeos | 49 } // namespace chromeos |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ | 51 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ |
| OLD | NEW |