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 ASH_CAST_CONFIG_DELEGATE_H_ | 5 #ifndef ASH_CAST_CONFIG_DELEGATE_H_ |
6 #define ASH_CAST_CONFIG_DELEGATE_H_ | 6 #define ASH_CAST_CONFIG_DELEGATE_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "ash/ash_export.h" | 12 #include "ash/ash_export.h" |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 | 18 |
19 // This delegate allows the UI code in ash, e.g. |TrayCastDetailedView|, | 19 // This delegate allows the UI code in ash, e.g. |TrayCastDetailedView|, |
20 // to access the cast extension. | 20 // to access the cast extension. |
21 class CastConfigDelegate { | 21 class CastConfigDelegate { |
22 public: | 22 public: |
23 struct ASH_EXPORT Receiver { | 23 struct ASH_EXPORT Receiver { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 virtual void AddObserver(Observer* observer) = 0; | 115 virtual void AddObserver(Observer* observer) = 0; |
116 virtual void RemoveObserver(Observer* observer) = 0; | 116 virtual void RemoveObserver(Observer* observer) = 0; |
117 | 117 |
118 private: | 118 private: |
119 DISALLOW_ASSIGN(CastConfigDelegate); | 119 DISALLOW_ASSIGN(CastConfigDelegate); |
120 }; | 120 }; |
121 | 121 |
122 } // namespace ash | 122 } // namespace ash |
123 | 123 |
124 #endif // ASH_CAST_CONFIG_DELEGATE_H_ | 124 #endif // ASH_CAST_CONFIG_DELEGATE_H_ |
OLD | NEW |