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 EXTENSIONS_DEVICE_PERMISSION_MANAGER_H_ | 5 #ifndef EXTENSIONS_DEVICE_PERMISSION_MANAGER_H_ |
6 #define EXTENSIONS_DEVICE_PERMISSION_MANAGER_H_ | 6 #define EXTENSIONS_DEVICE_PERMISSION_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 private: | 136 private: |
137 friend struct DefaultSingletonTraits<DevicePermissionsManagerFactory>; | 137 friend struct DefaultSingletonTraits<DevicePermissionsManagerFactory>; |
138 | 138 |
139 DevicePermissionsManagerFactory(); | 139 DevicePermissionsManagerFactory(); |
140 ~DevicePermissionsManagerFactory() override; | 140 ~DevicePermissionsManagerFactory() override; |
141 | 141 |
142 // BrowserContextKeyedServiceFactory | 142 // BrowserContextKeyedServiceFactory |
143 KeyedService* BuildServiceInstanceFor( | 143 KeyedService* BuildServiceInstanceFor( |
144 content::BrowserContext* context) const override; | 144 content::BrowserContext* context) const override; |
145 virtual content::BrowserContext* GetBrowserContextToUse( | 145 content::BrowserContext* GetBrowserContextToUse( |
146 content::BrowserContext* context) const override; | 146 content::BrowserContext* context) const override; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(DevicePermissionsManagerFactory); | 148 DISALLOW_COPY_AND_ASSIGN(DevicePermissionsManagerFactory); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace extensions | 151 } // namespace extensions |
152 | 152 |
153 #endif // EXTENSIONS_DEVICE_PERMISSION_MANAGER_H_ | 153 #endif // EXTENSIONS_DEVICE_PERMISSION_MANAGER_H_ |
OLD | NEW |