| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SOCKET_SOCKET_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "chrome/browser/extensions/api/api_function.h" | 10 #include "chrome/browser/extensions/api/api_function.h" |
| 11 #include "chrome/browser/extensions/api/api_resource_manager.h" | 11 #include "chrome/browser/extensions/api/api_resource_manager.h" |
| 12 #include "chrome/browser/extensions/extension_function.h" | |
| 13 #include "chrome/common/extensions/api/socket.h" | 12 #include "chrome/common/extensions/api/socket.h" |
| 13 #include "extensions/browser/extension_function.h" |
| 14 #include "net/base/address_list.h" | 14 #include "net/base/address_list.h" |
| 15 #include "net/dns/host_resolver.h" | 15 #include "net/dns/host_resolver.h" |
| 16 #include "net/socket/tcp_client_socket.h" | 16 #include "net/socket/tcp_client_socket.h" |
| 17 | 17 |
| 18 #include <string> | 18 #include <string> |
| 19 | 19 |
| 20 class IOThread; | 20 class IOThread; |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 class IOBuffer; | 23 class IOBuffer; |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 // AsyncApiFunction | 500 // AsyncApiFunction |
| 501 virtual bool Prepare() OVERRIDE; | 501 virtual bool Prepare() OVERRIDE; |
| 502 virtual void Work() OVERRIDE; | 502 virtual void Work() OVERRIDE; |
| 503 | 503 |
| 504 private: | 504 private: |
| 505 scoped_ptr<api::socket::GetJoinedGroups::Params> params_; | 505 scoped_ptr<api::socket::GetJoinedGroups::Params> params_; |
| 506 }; | 506 }; |
| 507 } // namespace extensions | 507 } // namespace extensions |
| 508 | 508 |
| 509 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ | 509 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ |
| OLD | NEW |