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

Unified Diff: content/test/weburl_loader_mock.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « content/test/weburl_loader_mock.h ('k') | content/test/weburl_loader_mock_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/weburl_loader_mock.cc
diff --git a/content/test/weburl_loader_mock.cc b/content/test/weburl_loader_mock.cc
index 4eb37be53111c6eba35ce5cb6fc5c95b8727816b..5503053c9627a9e3118de42a442da872e5d495f0 100644
--- a/content/test/weburl_loader_mock.cc
+++ b/content/test/weburl_loader_mock.cc
@@ -11,7 +11,7 @@
#include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
WebURLLoaderMock::WebURLLoaderMock(WebURLLoaderMockFactory* factory,
- WebKit::WebURLLoader* default_loader)
+ blink::WebURLLoader* default_loader)
: factory_(factory),
client_(NULL),
default_loader_(default_loader),
@@ -23,9 +23,9 @@ WebURLLoaderMock::~WebURLLoaderMock() {
}
void WebURLLoaderMock::ServeAsynchronousRequest(
- const WebKit::WebURLResponse& response,
- const WebKit::WebData& data,
- const WebKit::WebURLError& error) {
+ const blink::WebURLResponse& response,
+ const blink::WebData& data,
+ const blink::WebURLError& error) {
DCHECK(!using_default_loader_);
if (!client_)
return;
@@ -40,9 +40,9 @@ void WebURLLoaderMock::ServeAsynchronousRequest(
client_->didFinishLoading(this, 0);
}
-WebKit::WebURLRequest WebURLLoaderMock::ServeRedirect(
- const WebKit::WebURLResponse& redirectResponse) {
- WebKit::WebURLRequest newRequest;
+blink::WebURLRequest WebURLLoaderMock::ServeRedirect(
+ const blink::WebURLResponse& redirectResponse) {
+ blink::WebURLRequest newRequest;
newRequest.initialize();
GURL redirectURL(redirectResponse.httpHeaderField("Location"));
newRequest.setURL(redirectURL);
@@ -50,10 +50,10 @@ WebKit::WebURLRequest WebURLLoaderMock::ServeRedirect(
return newRequest;
}
-void WebURLLoaderMock::loadSynchronously(const WebKit::WebURLRequest& request,
- WebKit::WebURLResponse& response,
- WebKit::WebURLError& error,
- WebKit::WebData& data) {
+void WebURLLoaderMock::loadSynchronously(const blink::WebURLRequest& request,
+ blink::WebURLResponse& response,
+ blink::WebURLError& error,
+ blink::WebData& data) {
if (factory_->IsMockedURL(request.url())) {
factory_->LoadSynchronously(request, &response, &error, &data);
return;
@@ -65,8 +65,8 @@ void WebURLLoaderMock::loadSynchronously(const WebKit::WebURLRequest& request,
default_loader_->loadSynchronously(request, response, error, data);
}
-void WebURLLoaderMock::loadAsynchronously(const WebKit::WebURLRequest& request,
- WebKit::WebURLLoaderClient* client) {
+void WebURLLoaderMock::loadAsynchronously(const blink::WebURLRequest& request,
+ blink::WebURLLoaderClient* client) {
if (factory_->IsMockedURL(request.url())) {
client_ = client;
factory_->LoadAsynchronouly(request, this);
« no previous file with comments | « content/test/weburl_loader_mock.h ('k') | content/test/weburl_loader_mock_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698