Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: content/public/browser/bluetooth_allowed_devices_map_base.h

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: set --similarity=20 when did git cl upload Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698