OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "chrome/browser/extensions/api/api_function.h" | 11 #include "chrome/browser/extensions/api/api_function.h" |
12 #include "chrome/browser/extensions/api/api_resource_manager.h" | 12 #include "chrome/browser/extensions/api/api_resource_manager.h" |
13 #include "chrome/browser/extensions/api/cast_channel/cast_socket.h" | 13 #include "chrome/browser/extensions/api/cast_channel/cast_socket.h" |
14 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 14 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
15 #include "chrome/browser/extensions/extension_function.h" | |
16 #include "chrome/common/extensions/api/cast_channel.h" | 15 #include "chrome/common/extensions/api/cast_channel.h" |
| 16 #include "extensions/browser/extension_function.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 class Profile; | 19 class Profile; |
20 class CastChannelAPITest; | 20 class CastChannelAPITest; |
21 | 21 |
22 namespace extensions { | 22 namespace extensions { |
23 | 23 |
24 namespace cast_channel = api::cast_channel; | 24 namespace cast_channel = api::cast_channel; |
25 | 25 |
26 class CastChannelAPI : public ProfileKeyedAPI, | 26 class CastChannelAPI : public ProfileKeyedAPI, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 void OnClose(int result); | 176 void OnClose(int result); |
177 | 177 |
178 scoped_ptr<cast_channel::Close::Params> params_; | 178 scoped_ptr<cast_channel::Close::Params> params_; |
179 | 179 |
180 DISALLOW_COPY_AND_ASSIGN(CastChannelCloseFunction); | 180 DISALLOW_COPY_AND_ASSIGN(CastChannelCloseFunction); |
181 }; | 181 }; |
182 | 182 |
183 } // namespace extensions | 183 } // namespace extensions |
184 | 184 |
185 #endif // CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ | 185 #endif // CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ |
OLD | NEW |