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" | |
12 #include "chrome/browser/extensions/api/api_resource_manager.h" | 11 #include "chrome/browser/extensions/api/api_resource_manager.h" |
13 #include "chrome/browser/extensions/api/cast_channel/cast_socket.h" | 12 #include "chrome/browser/extensions/api/cast_channel/cast_socket.h" |
14 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 13 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
15 #include "chrome/common/extensions/api/cast_channel.h" | 14 #include "chrome/common/extensions/api/cast_channel.h" |
16 #include "extensions/browser/extension_function.h" | 15 #include "extensions/browser/api/async_api_function.h" |
17 | 16 |
18 class GURL; | 17 class GURL; |
19 class CastChannelAPITest; | 18 class CastChannelAPITest; |
20 | 19 |
21 namespace content { | 20 namespace content { |
22 class BrowserContext; | 21 class BrowserContext; |
23 } | 22 } |
24 | 23 |
25 namespace extensions { | 24 namespace extensions { |
26 | 25 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 void OnClose(int result); | 178 void OnClose(int result); |
180 | 179 |
181 scoped_ptr<cast_channel::Close::Params> params_; | 180 scoped_ptr<cast_channel::Close::Params> params_; |
182 | 181 |
183 DISALLOW_COPY_AND_ASSIGN(CastChannelCloseFunction); | 182 DISALLOW_COPY_AND_ASSIGN(CastChannelCloseFunction); |
184 }; | 183 }; |
185 | 184 |
186 } // namespace extensions | 185 } // namespace extensions |
187 | 186 |
188 #endif // CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ | 187 #endif // CHROME_BROWSER_EXTENSIONS_API_CAST_CHANNEL_CAST_CHANNEL_API_H_ |
OLD | NEW |