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

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

Issue 2370001: Store blocked cookies in the tab contents. (Closed)
Patch Set: updates Created 10 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <exdisp.h> 7 #include <exdisp.h>
8 8
9 #include "app/app_paths.h" 9 #include "app/app_paths.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 "URLRequestTestHTTP.GetTest_NoCache", 434 "URLRequestTestHTTP.GetTest_NoCache",
435 435
436 // These tests have been disabled as the Chrome cookie policies don't make 436 // These tests have been disabled as the Chrome cookie policies don't make
437 // sense or have not been implemented for the host network stack. 437 // sense or have not been implemented for the host network stack.
438 "URLRequestTest.DoNotSaveCookies_ViaPolicy", 438 "URLRequestTest.DoNotSaveCookies_ViaPolicy",
439 "URLRequestTest.DoNotSendCookies_ViaPolicy", 439 "URLRequestTest.DoNotSendCookies_ViaPolicy",
440 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async", 440 "URLRequestTest.DoNotSaveCookies_ViaPolicy_Async",
441 "URLRequestTest.CookiePolicy_ForceSession", 441 "URLRequestTest.CookiePolicy_ForceSession",
442 "URLRequestTest.DoNotSendCookies", 442 "URLRequestTest.DoNotSendCookies",
443 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async", 443 "URLRequestTest.DoNotSendCookies_ViaPolicy_Async",
444 "URLRequestTest.CancelTest_During_OnGetCookiesBlocked", 444 "URLRequestTest.CancelTest_During_OnGetCookies",
445 "URLRequestTest.CancelTest_During_OnSetCookieBlocked", 445 "URLRequestTest.CancelTest_During_OnSetCookie",
446 446
447 // These tests are disabled as the rely on functionality provided by 447 // These tests are disabled as the rely on functionality provided by
448 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc. 448 // Chrome's HTTP stack like the ability to set the proxy for a URL, etc.
449 "URLRequestTestHTTP.ProxyTunnelRedirectTest", 449 "URLRequestTestHTTP.ProxyTunnelRedirectTest",
450 "URLRequestTestHTTP.UnexpectedServerAuthTest", 450 "URLRequestTestHTTP.UnexpectedServerAuthTest",
451 }; 451 };
452 452
453 std::string filter("-"); // All following filters will be negative. 453 std::string filter("-"); // All following filters will be negative.
454 for (int i = 0; i < arraysize(disabled_tests); ++i) { 454 for (int i = 0; i < arraysize(disabled_tests); ++i) {
455 if (i > 0) 455 if (i > 0)
(...skipping 10 matching lines...) Expand all
466 SupplyProxyCredentials credentials("user", "secret"); 466 SupplyProxyCredentials credentials("user", "secret");
467 // Check for a dialog class ("#32770") 467 // Check for a dialog class ("#32770")
468 watchdog.AddObserver(&credentials, "#32770"); 468 watchdog.AddObserver(&credentials, "#32770");
469 testing::InitGoogleTest(&argc, argv); 469 testing::InitGoogleTest(&argc, argv);
470 FilterDisabledTests(); 470 FilterDisabledTests();
471 PluginService::EnableChromePlugins(false); 471 PluginService::EnableChromePlugins(false);
472 CFUrlRequestUnittestRunner test_suite(argc, argv); 472 CFUrlRequestUnittestRunner test_suite(argc, argv);
473 test_suite.RunMainUIThread(); 473 test_suite.RunMainUIThread();
474 return 0; 474 return 0;
475 } 475 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698