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

Unified Diff: webkit/support/weburl_loader_mock_factory.h

Issue 9874008: Make WebURLLoaderMock handle redirects correctly in the case where the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/support/weburl_loader_mock_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/weburl_loader_mock_factory.h
===================================================================
--- webkit/support/weburl_loader_mock_factory.h (revision 129167)
+++ webkit/support/weburl_loader_mock_factory.h (working copy)
@@ -76,6 +76,9 @@
WebKit::WebURLError* error,
WebKit::WebData* data);
+ // Checks if the loader is pending. Otherwise, it may have been deleted.
+ bool IsPending(WebURLLoaderMock* loader);
+
// Reads |m_filePath| and puts its content in |data|.
// Returns true if it successfully read the file.
static bool ReadFile(const FilePath& file_path, WebKit::WebData* data);
« no previous file with comments | « no previous file | webkit/support/weburl_loader_mock_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698