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

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

Issue 23710059: Release the cache entry on deferred redirect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable new tests on Chrome Frame Created 7 years, 3 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 (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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 "HTTPSRequestTest.ClientAuthTest", 212 "HTTPSRequestTest.ClientAuthTest",
213 213
214 // More HTTPS tests failing due to certificate dialogs. 214 // More HTTPS tests failing due to certificate dialogs.
215 // http://crbug.com/102991 215 // http://crbug.com/102991
216 "URLRequestTestHTTP.HTTPSToHTTPRedirectNoRefererTest", 216 "URLRequestTestHTTP.HTTPSToHTTPRedirectNoRefererTest",
217 "HTTPSRequestTest.HTTPSGetTest", 217 "HTTPSRequestTest.HTTPSGetTest",
218 218
219 // Tests chrome's network stack's cache (might not apply to CF). 219 // Tests chrome's network stack's cache (might not apply to CF).
220 "URLRequestTestHTTP.VaryHeader", 220 "URLRequestTestHTTP.VaryHeader",
221 "URLRequestTestHTTP.GetZippedTest", 221 "URLRequestTestHTTP.GetZippedTest",
222 "URLRequestTestHTTP.CachedRedirect",
223 "URLRequestTestHTTP.DeferredRedirect_ReleaseCacheEntry",
222 224
223 // Tests that requests can be blocked asynchronously in states 225 // Tests that requests can be blocked asynchronously in states
224 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least 226 // OnBeforeURLRequest, OnBeforeSendHeaders and OnHeadersReceived. At least
225 // the second state is not supported by CF. 227 // the second state is not supported by CF.
226 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously", 228 "URLRequestTestHTTP.NetworkDelegateBlockAsynchronously",
227 229
228 // Tests for cancelling requests in states OnBeforeSendHeaders and 230 // Tests for cancelling requests in states OnBeforeSendHeaders and
229 // OnHeadersReceived, which do not seem supported by CF. 231 // OnHeadersReceived, which do not seem supported by CF.
230 "URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously2", 232 "URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously2",
231 "URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously3", 233 "URLRequestTestHTTP.NetworkDelegateCancelRequestSynchronously3",
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 content::InitializeSandboxInfo(&sandbox_info); 994 content::InitializeSandboxInfo(&sandbox_info);
993 FakeMainDelegate delegate; 995 FakeMainDelegate delegate;
994 content::ContentMain( 996 content::ContentMain(
995 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), 997 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)),
996 &sandbox_info, 998 &sandbox_info,
997 &delegate); 999 &delegate);
998 1000
999 // Note: In debug builds, we ExitProcess during PostDestroyThreads. 1001 // Note: In debug builds, we ExitProcess during PostDestroyThreads.
1000 return g_test_suite->test_result(); 1002 return g_test_suite->test_result();
1001 } 1003 }
OLDNEW
« no previous file with comments | « no previous file | net/data/url_request_unittest/redirect-test.html.mock-http-headers » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698