| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTORY_
H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTORY_
H_ |
| 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTORY_
H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTORY_
H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "content/public/browser/bluetooth_chooser.h" | 13 #include "content/public/browser/bluetooth_chooser.h" |
| 14 | 14 |
| 15 namespace url { | |
| 16 class Origin; | |
| 17 } | |
| 18 | |
| 19 namespace content { | 15 namespace content { |
| 20 | 16 |
| 21 class RenderFrameHost; | 17 class RenderFrameHost; |
| 22 | 18 |
| 23 class LayoutTestBluetoothChooserFactory { | 19 class LayoutTestBluetoothChooserFactory { |
| 24 public: | 20 public: |
| 25 LayoutTestBluetoothChooserFactory(); | 21 LayoutTestBluetoothChooserFactory(); |
| 26 ~LayoutTestBluetoothChooserFactory(); | 22 ~LayoutTestBluetoothChooserFactory(); |
| 27 | 23 |
| 28 std::unique_ptr<BluetoothChooser> RunBluetoothChooser( | 24 std::unique_ptr<BluetoothChooser> RunBluetoothChooser( |
| (...skipping 11 matching lines...) Expand all Loading... |
| 40 | 36 |
| 41 // Contains the set of live choosers, in order to send them events. | 37 // Contains the set of live choosers, in order to send them events. |
| 42 std::set<Chooser*> choosers_; | 38 std::set<Chooser*> choosers_; |
| 43 | 39 |
| 44 base::WeakPtrFactory<LayoutTestBluetoothChooserFactory> weak_this_; | 40 base::WeakPtrFactory<LayoutTestBluetoothChooserFactory> weak_this_; |
| 45 }; | 41 }; |
| 46 | 42 |
| 47 } // namespace content | 43 } // namespace content |
| 48 | 44 |
| 49 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTO
RY_H_ | 45 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTO
RY_H_ |
| OLD | NEW |