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_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/string_piece.h" | 11 #include "base/strings/string_piece.h" |
12 #include "chrome/browser/google_apis/test_server/http_request.h" | 12 #include "chrome/browser/google_apis/test_server/http_request.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class StreamListenSocket; | 15 class StreamListenSocket; |
16 } | 16 } |
17 | 17 |
18 namespace google_apis { | 18 namespace google_apis { |
19 namespace test_server { | 19 namespace test_server { |
20 | 20 |
21 class HttpConnection; | 21 class HttpConnection; |
(...skipping 28 matching lines...) Expand all Loading... |
50 const HandleRequestCallback callback_; | 50 const HandleRequestCallback callback_; |
51 HttpRequestParser request_parser_; | 51 HttpRequestParser request_parser_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(HttpConnection); | 53 DISALLOW_COPY_AND_ASSIGN(HttpConnection); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace test_server | 56 } // namespace test_server |
57 } // namespace google_apis | 57 } // namespace google_apis |
58 | 58 |
59 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ | 59 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_SERVER_HTTP_CONNECTION_H_ |
OLD | NEW |