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

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

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 | « no previous file | webkit/support/webkit_support.cc » ('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 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const WebKit::WebString& file_path); 122 const WebKit::WebString& file_path);
123 123
124 // Unregisters URLs so they are no longer mocked. 124 // Unregisters URLs so they are no longer mocked.
125 void UnregisterMockedURL(const WebKit::WebURL& url); 125 void UnregisterMockedURL(const WebKit::WebURL& url);
126 void UnregisterAllMockedURLs(); 126 void UnregisterAllMockedURLs();
127 127
128 // Causes all pending asynchronous requests to be served. When this method 128 // Causes all pending asynchronous requests to be served. When this method
129 // returns all the pending requests have been processed. 129 // returns all the pending requests have been processed.
130 void ServeAsynchronousMockedRequests(); 130 void ServeAsynchronousMockedRequests();
131 131
132 // Returns the last request that handled by |ServeAsynchronousMockedRequests()|.
133 WebKit::WebURLRequest GetLastHandledAsynchronousMockedRequest();
134
132 // Wrappers to minimize dependecy. 135 // Wrappers to minimize dependecy.
133 136
134 // -------- Debugging 137 // -------- Debugging
135 bool BeingDebugged(); 138 bool BeingDebugged();
136 139
137 // -------- Message loop and task 140 // -------- Message loop and task
138 141
139 // A wrapper for Chromium's Task class. 142 // A wrapper for Chromium's Task class.
140 // The lifecycle is managed by webkit_support thus 143 // The lifecycle is managed by webkit_support thus
141 // You shouldn't delete the object. 144 // You shouldn't delete the object.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 260
258 void EnableWebCoreLogChannels(const std::string& channels); 261 void EnableWebCoreLogChannels(const std::string& channels);
259 262
260 // - Gamepad 263 // - Gamepad
261 264
262 void SetGamepadData(const WebKit::WebGamepads& pads); 265 void SetGamepadData(const WebKit::WebGamepads& pads);
263 266
264 } // namespace webkit_support 267 } // namespace webkit_support
265 268
266 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 269 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698