Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: extensions/browser/api/sockets_tcp/sockets_tcp_api.h

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_
6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ 6 #define EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_
7 7
8 #include "extensions/browser/api/socket/socket_api.h" 8 #include "extensions/browser/api/socket/socket_api.h"
9 #include "extensions/common/api/sockets_tcp.h" 9 #include "extensions/common/api/sockets_tcp.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 class ResumableTCPSocket; 12 class ResumableTCPSocket;
13 class TLSSocket; 13 class TLSSocket;
14 } 14 }
15 15
16 namespace extensions { 16 namespace extensions {
17 namespace core_api { 17 namespace api {
18 18
19 class TCPSocketEventDispatcher; 19 class TCPSocketEventDispatcher;
20 20
21 class TCPSocketAsyncApiFunction : public SocketAsyncApiFunction { 21 class TCPSocketAsyncApiFunction : public SocketAsyncApiFunction {
22 protected: 22 protected:
23 ~TCPSocketAsyncApiFunction() override; 23 ~TCPSocketAsyncApiFunction() override;
24 24
25 scoped_ptr<SocketResourceManagerInterface> CreateSocketResourceManager() 25 scoped_ptr<SocketResourceManagerInterface> CreateSocketResourceManager()
26 override; 26 override;
27 27
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 int result); 255 int result);
256 256
257 bool paused_; 257 bool paused_;
258 bool persistent_; 258 bool persistent_;
259 scoped_ptr<sockets_tcp::Secure::Params> params_; 259 scoped_ptr<sockets_tcp::Secure::Params> params_;
260 scoped_refptr<net::URLRequestContextGetter> url_request_getter_; 260 scoped_refptr<net::URLRequestContextGetter> url_request_getter_;
261 261
262 DISALLOW_COPY_AND_ASSIGN(SocketsTcpSecureFunction); 262 DISALLOW_COPY_AND_ASSIGN(SocketsTcpSecureFunction);
263 }; 263 };
264 264
265 } // namespace core_api 265 } // namespace api
266 } // namespace extensions 266 } // namespace extensions
267 267
268 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_ 268 #endif // EXTENSIONS_BROWSER_API_SOCKETS_TCP_SOCKETS_TCP_API_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/socket/tls_socket.cc ('k') | extensions/browser/api/sockets_tcp/sockets_tcp_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698