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

Side by Side Diff: chrome/browser/google_apis/test_server/http_server.h

Issue 13812005: net: move socket files from net/base to net/socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
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_GOOGLE_APIS_TEST_SERVER_HTTP_SERVER_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_SERVER_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_SERVER_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_SERVER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/tcp_listen_socket.h" 17 #include "net/socket/tcp_listen_socket.h"
18 18
19 namespace google_apis { 19 namespace google_apis {
20 namespace test_server { 20 namespace test_server {
21 21
22 class HttpConnection; 22 class HttpConnection;
23 class HttpResponse; 23 class HttpResponse;
24 struct HttpRequest; 24 struct HttpRequest;
25 25
26 // This class is required to be able to have composition instead of inheritance, 26 // This class is required to be able to have composition instead of inheritance,
27 class HttpListenSocket: public net::TCPListenSocket { 27 class HttpListenSocket: public net::TCPListenSocket {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // invalidate its weak pointers before any other members are destroyed. 138 // invalidate its weak pointers before any other members are destroyed.
139 base::WeakPtrFactory<HttpServer> weak_factory_; 139 base::WeakPtrFactory<HttpServer> weak_factory_;
140 140
141 DISALLOW_COPY_AND_ASSIGN(HttpServer); 141 DISALLOW_COPY_AND_ASSIGN(HttpServer);
142 }; 142 };
143 143
144 } // namespace test_servers 144 } // namespace test_servers
145 } // namespace google_apis 145 } // namespace google_apis
146 146
147 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_SERVER_H_ 147 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_SERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/test_server/http_connection.cc ('k') | chrome/browser/nacl_host/nacl_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698