Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_BLUETOOTH_ALLOWED_DEVICES_MAP_BASE_H_ | |
| 6 #define CONTENT_PUBLIC_BROWSER_BLUETOOTH_ALLOWED_DEVICES_MAP_BASE_H_ | |
| 7 | |
| 8 #include <map> | |
| 9 | |
| 10 #include "content/common/content_export.h" | |
| 11 #include "url/origin.h" | |
| 12 | |
| 13 namespace content { | |
| 14 | |
| 15 class BluetoothAllowedDevices; | |
| 16 | |
| 17 class CONTENT_EXPORT BluetoothAllowedDevicesMapBase { | |
|
scheib
2017/01/26 04:27:36
Comment explaining class and relation to other cla
juncai
2017/01/30 20:34:55
Done.
| |
| 18 public: | |
| 19 BluetoothAllowedDevicesMapBase(); | |
| 20 virtual ~BluetoothAllowedDevicesMapBase(); | |
| 21 | |
| 22 content::BluetoothAllowedDevices* GetOrCreateAllowedDevices( | |
| 23 url::Origin origin); | |
| 24 | |
| 25 private: | |
| 26 std::map<url::Origin, content::BluetoothAllowedDevices> | |
| 27 origin_to_allowed_devices_map_; | |
| 28 }; | |
| 29 | |
| 30 } // namespace content | |
| 31 | |
| 32 #endif // CONTENT_PUBLIC_BROWSER_BLUETOOTH_ALLOWED_DEVICES_MAP_BASE_H_ | |
| OLD | NEW |