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

Side by Side Diff: net/http/http_network_transaction_unittest.cc

Issue 8722: Wrap forward declarations in their relevant namespace (Closed)
Patch Set: Add indentation and a missing header to silence another gcc4.3 error Created 12 years, 1 month 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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include <math.h> // ceil
5 #include "base/compiler_specific.h" 6 #include "base/compiler_specific.h"
6 #include "base/platform_test.h" 7 #include "base/platform_test.h"
7 #include "net/base/client_socket_factory.h" 8 #include "net/base/client_socket_factory.h"
8 #include "net/base/test_completion_callback.h" 9 #include "net/base/test_completion_callback.h"
9 #include "net/base/upload_data.h" 10 #include "net/base/upload_data.h"
10 #include "net/http/http_network_session.h" 11 #include "net/http/http_network_session.h"
11 #include "net/http/http_network_transaction.h" 12 #include "net/http/http_network_transaction.h"
12 #include "net/http/http_transaction_unittest.h" 13 #include "net/http/http_transaction_unittest.h"
13 #include "net/proxy/proxy_resolver_fixed.h" 14 #include "net/proxy/proxy_resolver_fixed.h"
14 #include "net/proxy/proxy_resolver_null.h" 15 #include "net/proxy/proxy_resolver_null.h"
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 850
850 int rv = trans->Start(&request, &callback); 851 int rv = trans->Start(&request, &callback);
851 EXPECT_EQ(net::ERR_IO_PENDING, rv); 852 EXPECT_EQ(net::ERR_IO_PENDING, rv);
852 853
853 rv = callback.WaitForResult(); 854 rv = callback.WaitForResult();
854 EXPECT_EQ(net::ERR_RESPONSE_HEADERS_TOO_BIG, rv); 855 EXPECT_EQ(net::ERR_RESPONSE_HEADERS_TOO_BIG, rv);
855 856
856 const net::HttpResponseInfo* response = trans->GetResponseInfo(); 857 const net::HttpResponseInfo* response = trans->GetResponseInfo();
857 EXPECT_TRUE(response == NULL); 858 EXPECT_TRUE(response == NULL);
858 } 859 }
OLDNEW
« chrome/browser/webdata/web_database.h ('K') | « chrome/browser/webdata/web_database.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698