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 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/extensions/api/api_function.h" | 9 #include "chrome/browser/extensions/api/api_function.h" |
11 #include "chrome/common/extensions/api/experimental_socket.h" | 10 #include "chrome/common/extensions/api/experimental_socket.h" |
12 #include "net/base/address_list.h" | 11 #include "net/base/address_list.h" |
13 #include "net/base/host_resolver.h" | 12 #include "net/base/host_resolver.h" |
14 | 13 |
15 #include <string> | 14 #include <string> |
16 | 15 |
17 namespace net { | 16 namespace net { |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 virtual bool Prepare() OVERRIDE; | 269 virtual bool Prepare() OVERRIDE; |
271 virtual void Work() OVERRIDE; | 270 virtual void Work() OVERRIDE; |
272 | 271 |
273 private: | 272 private: |
274 scoped_ptr<api::experimental_socket::SetNoDelay::Params> params_; | 273 scoped_ptr<api::experimental_socket::SetNoDelay::Params> params_; |
275 }; | 274 }; |
276 | 275 |
277 } // namespace extensions | 276 } // namespace extensions |
278 | 277 |
279 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ | 278 #endif // CHROME_BROWSER_EXTENSIONS_API_SOCKET_SOCKET_API_H_ |
OLD | NEW |