| 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 "content/public/browser/bluetooth_chooser.h" | 8 #include "content/public/browser/bluetooth_chooser.h" |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "content/public/browser/bluetooth_chooser.h" | 15 #include "content/public/browser/bluetooth_chooser.h" |
| 15 | 16 |
| 16 namespace url { | 17 namespace url { |
| 17 class Origin; | 18 class Origin; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace content { | 21 namespace content { |
| 21 | 22 |
| 22 class RenderFrameHost; | 23 class RenderFrameHost; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 41 | 42 |
| 42 // Contains the set of live choosers, in order to send them events. | 43 // Contains the set of live choosers, in order to send them events. |
| 43 std::set<Chooser*> choosers_; | 44 std::set<Chooser*> choosers_; |
| 44 | 45 |
| 45 base::WeakPtrFactory<LayoutTestBluetoothChooserFactory> weak_this_; | 46 base::WeakPtrFactory<LayoutTestBluetoothChooserFactory> weak_this_; |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 } // namespace content | 49 } // namespace content |
| 49 | 50 |
| 50 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTO
RY_H_ | 51 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_CHOOSER_FACTO
RY_H_ |
| OLD | NEW |