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

Side by Side Diff: chrome_frame/test/net/fake_external_tab.cc

Issue 10911151: URLRequestHttpJob::StartTransaction should honour network delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2 tests split into 6 and only 4 disabled for CF Created 8 years, 2 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
« no previous file with comments | « no previous file | net/url_request/url_request_http_job.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome_frame/test/net/fake_external_tab.h" 5 #include "chrome_frame/test/net/fake_external_tab.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcom.h> 8 #include <atlcom.h>
9 #include <exdisp.h> 9 #include <exdisp.h>
10 #include <Winsock2.h> 10 #include <Winsock2.h>
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 // Tests chrome's network stack's cache (might not apply to CF). 202 // Tests chrome's network stack's cache (might not apply to CF).
203 "URLRequestTestHTTP.VaryHeader", 203 "URLRequestTestHTTP.VaryHeader",
204 "URLRequestTestHTTP.GetZippedTest", 204 "URLRequestTestHTTP.GetZippedTest",
205 205
206 // Tests that requests can be blocked asynchronously in states 206 // Tests that requests can be blocked asynchronously in states
207 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least 207 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least
208 // the second state is not supported by CF. 208 // the second state is not supported by CF.
209 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously", 209 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously",
210 210
211 // Tests for cancelling requests in states OnBeforeSendHeaders and
212 // OnHeadersReceived, which do not seem supported by CF.
battre 2012/09/27 07:24:30 Why are they not supported? This looks like a weak
vabr (Chromium) 2012/09/27 18:15:12 I was re-using the argument from other parts of th
213 "URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously2",
214 "URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously3",
215 "URLRequestTestHTTP.NetworkDelegateCancelRequestAsynchronously2",
216 "URLRequestTestHTTP.NetworkDelegateCancelRequestAsynchronously3",
217
211 // Tests that requests can be cancelled while blocking in 218 // Tests that requests can be cancelled while blocking in
212 // OnBeforeSendHeaders state. But this state is not supported by CF. 219 // OnBeforeSendHeaders state. But this state is not supported by CF.
213 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting2", 220 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting2",
214 221
215 // Tests that requests can be cancelled while blocking in 222 // Tests that requests can be cancelled while blocking in
216 // OnHeadersRecevied state. At first glance, this state does not appear to 223 // OnHeadersRecevied state. At first glance, this state does not appear to
217 // be supported by CF. 224 // be supported by CF.
218 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting3", 225 "URLRequestTestHTTP.NetworkDelegateCancelWhileWaiting3",
219 226
220 // Tests that requests can be cancelled while blocking in OnAuthRequired 227 // Tests that requests can be cancelled while blocking in OnAuthRequired
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 // content::InitializeSandboxInfo(&sandbox_info); 939 // content::InitializeSandboxInfo(&sandbox_info);
933 FakeMainDelegate delegate; 940 FakeMainDelegate delegate;
934 content::ContentMain( 941 content::ContentMain(
935 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), 942 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)),
936 &sandbox_info, 943 &sandbox_info,
937 &delegate); 944 &delegate);
938 945
939 // Note: In debug builds, we ExitProcess during PostDestroyThreads. 946 // Note: In debug builds, we ExitProcess during PostDestroyThreads.
940 return g_test_suite->test_result(); 947 return g_test_suite->test_result();
941 } 948 }
OLDNEW
« no previous file with comments | « no previous file | net/url_request/url_request_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698