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> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
13 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 14 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
14 #include "content/public/browser/browser_context.h" | 15 #include "content/public/browser/browser_context.h" |
15 | 16 |
16 namespace chromeos { | 17 namespace chromeos { |
17 namespace file_system_provider { | 18 namespace file_system_provider { |
18 | 19 |
19 class Service; | 20 class Service; |
20 | 21 |
21 // Creates services per profile. | 22 // Creates services per profile. |
(...skipping 22 matching lines...) Expand all Loading... |
44 content::BrowserContext* GetBrowserContextToUse( | 45 content::BrowserContext* GetBrowserContextToUse( |
45 content::BrowserContext* context) const override; | 46 content::BrowserContext* context) const override; |
46 | 47 |
47 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); | 48 DISALLOW_COPY_AND_ASSIGN(ServiceFactory); |
48 }; | 49 }; |
49 | 50 |
50 } // namespace file_system_provider | 51 } // namespace file_system_provider |
51 } // namespace chromeos | 52 } // namespace chromeos |
52 | 53 |
53 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_SERVICE_FACTORY_H_ |
OLD | NEW |