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

Side by Side Diff: webkit/support/webkit_support.cc

Issue 10735037: Add WebURLLoaderMockFactory::GetLastHandledAsynchronousRequest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « webkit/support/webkit_support.h ('k') | webkit/support/weburl_loader_mock_factory.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 "webkit/support/webkit_support.h" 5 #include "webkit/support/webkit_support.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 void UnregisterAllMockedURLs() { 480 void UnregisterAllMockedURLs() {
481 test_environment->webkit_platform_support()->url_loader_factory()-> 481 test_environment->webkit_platform_support()->url_loader_factory()->
482 UnregisterAllURLs(); 482 UnregisterAllURLs();
483 } 483 }
484 484
485 void ServeAsynchronousMockedRequests() { 485 void ServeAsynchronousMockedRequests() {
486 test_environment->webkit_platform_support()->url_loader_factory()-> 486 test_environment->webkit_platform_support()->url_loader_factory()->
487 ServeAsynchronousRequests(); 487 ServeAsynchronousRequests();
488 } 488 }
489 489
490 WebKit::WebURLRequest GetLastHandledAsynchronousMockedRequest() {
491 return test_environment->webkit_platform_support()->url_loader_factory()->
492 GetLastHandledAsynchronousRequest();
493 }
494
490 // Wrapper for debug_util 495 // Wrapper for debug_util
491 bool BeingDebugged() { 496 bool BeingDebugged() {
492 return base::debug::BeingDebugged(); 497 return base::debug::BeingDebugged();
493 } 498 }
494 499
495 // Wrappers for MessageLoop 500 // Wrappers for MessageLoop
496 501
497 void RunMessageLoop() { 502 void RunMessageLoop() {
498 MessageLoop::current()->Run(); 503 MessageLoop::current()->Run();
499 } 504 }
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 // Logging 809 // Logging
805 void EnableWebCoreLogChannels(const std::string& channels) { 810 void EnableWebCoreLogChannels(const std::string& channels) {
806 webkit_glue::EnableWebCoreLogChannels(channels); 811 webkit_glue::EnableWebCoreLogChannels(channels);
807 } 812 }
808 813
809 void SetGamepadData(const WebKit::WebGamepads& pads) { 814 void SetGamepadData(const WebKit::WebGamepads& pads) {
810 test_environment->webkit_platform_support()->setGamepadData(pads); 815 test_environment->webkit_platform_support()->setGamepadData(pads);
811 } 816 }
812 817
813 } // namespace webkit_support 818 } // namespace webkit_support
OLDNEW
« no previous file with comments | « webkit/support/webkit_support.h ('k') | webkit/support/weburl_loader_mock_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698