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

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

Issue 13483007: Don't set MODE_DEFAULT when adding HPKP header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable new test on Chrome Frame since it can't work. 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
« no previous file with comments | « no previous file | net/data/url_request_unittest/hsts-and-hpkp-headers.html » ('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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // See http://msdn.microsoft.com/en-us/library/aa385328(VS.85).aspx 247 // See http://msdn.microsoft.com/en-us/library/aa385328(VS.85).aspx
248 "URLRequestTest.DoNotSaveCookies", 248 "URLRequestTest.DoNotSaveCookies",
249 "URLRequestTest.DelayedCookieCallback", 249 "URLRequestTest.DelayedCookieCallback",
250 250
251 // TODO(ananta): This test has been consistently failing. Disabling it for 251 // TODO(ananta): This test has been consistently failing. Disabling it for
252 // now. 252 // now.
253 "URLRequestTestHTTP.GetTest_NoCache", 253 "URLRequestTestHTTP.GetTest_NoCache",
254 254
255 // These tests use HTTPS, and IE's trust store does not have the test 255 // These tests use HTTPS, and IE's trust store does not have the test
256 // certs. So these tests time out waiting for user input. The 256 // certs. So these tests time out waiting for user input. The
257 // functionality they test (HTTP Strict Transport Security) does not 257 // functionality they test (HTTP Strict Transport Security and
258 // work in Chrome Frame anyway. 258 // HTTP-based Public Key Pinning) does not work in Chrome Frame anyway.
259 "URLRequestTestHTTP.ProcessSTS", 259 "URLRequestTestHTTP.ProcessSTS",
260 "URLRequestTestHTTP.ProcessSTSOnce", 260 "URLRequestTestHTTP.ProcessSTSOnce",
261 "URLRequestTestHTTP.ProcessSTSAndPKP",
261 262
262 // These tests have been disabled as the Chrome cookie policies don't make 263 // These tests have been disabled as the Chrome cookie policies don't make
263 // sense or have not been implemented for the host network stack. 264 // sense or have not been implemented for the host network stack.
264 "URLRequestTest.DoNotSaveCookies_ViaPolicy", 265 "URLRequestTest.DoNotSaveCookies_ViaPolicy",
265 "URLRequestTest.DoNotSendCookies_ViaPolicy", 266 "URLRequestTest.DoNotSendCookies_ViaPolicy",
266 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async", 267 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async",
267 "URLRequestTest.CookiePolicy_ForceSession", 268 "URLRequestTest.CookiePolicy_ForceSession",
268 "URLRequestTest.DoNotSendCookies", 269 "URLRequestTest.DoNotSendCookies",
269 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", 270 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async",
270 "URLRequestTest.CancelTest_During_OnGetCookies", 271 "URLRequestTest.CancelTest_During_OnGetCookies",
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 content::InitializeSandboxInfo(&sandbox_info); 971 content::InitializeSandboxInfo(&sandbox_info);
971 FakeMainDelegate delegate; 972 FakeMainDelegate delegate;
972 content::ContentMain( 973 content::ContentMain(
973 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)), 974 reinterpret_cast<HINSTANCE>(GetModuleHandle(NULL)),
974 &sandbox_info, 975 &sandbox_info,
975 &delegate); 976 &delegate);
976 977
977 // Note: In debug builds, we ExitProcess during PostDestroyThreads. 978 // Note: In debug builds, we ExitProcess during PostDestroyThreads.
978 return g_test_suite->test_result(); 979 return g_test_suite->test_result();
979 } 980 }
OLDNEW
« no previous file with comments | « no previous file | net/data/url_request_unittest/hsts-and-hpkp-headers.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698