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

Unified Diff: content/renderer/fetchers/alt_error_page_resource_fetcher.h

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
Index: content/renderer/fetchers/alt_error_page_resource_fetcher.h
diff --git a/content/renderer/fetchers/alt_error_page_resource_fetcher.h b/content/renderer/fetchers/alt_error_page_resource_fetcher.h
index 6d828572eec7d70af3cdaac4b740e5cd74329d65..7fcf34cd3d75de2916caebc76a93a3c763b61750 100644
--- a/content/renderer/fetchers/alt_error_page_resource_fetcher.h
+++ b/content/renderer/fetchers/alt_error_page_resource_fetcher.h
@@ -11,7 +11,7 @@
#include "third_party/WebKit/public/platform/WebURLRequest.h"
#include "url/gurl.h"
-namespace WebKit {
+namespace blink {
class WebFrame;
class WebURLResponse;
}
@@ -26,16 +26,16 @@ class AltErrorPageResourceFetcher {
// This will be called when the alternative error page has been fetched,
// successfully or not. If there is a failure, the third parameter (the
// data) will be empty.
- typedef base::Callback<void(WebKit::WebFrame*,
- const WebKit::WebURLRequest&,
- const WebKit::WebURLError&,
+ typedef base::Callback<void(blink::WebFrame*,
+ const blink::WebURLRequest&,
+ const blink::WebURLError&,
const std::string&)> Callback;
AltErrorPageResourceFetcher(
const GURL& url,
- WebKit::WebFrame* frame,
- const WebKit::WebURLRequest& original_request,
- const WebKit::WebURLError& original_error,
+ blink::WebFrame* frame,
+ const blink::WebURLRequest& original_request,
+ const blink::WebURLError& original_error,
const Callback& callback);
~AltErrorPageResourceFetcher();
@@ -43,22 +43,22 @@ class AltErrorPageResourceFetcher {
void Cancel();
private:
- void OnURLFetchComplete(const WebKit::WebURLResponse& response,
+ void OnURLFetchComplete(const blink::WebURLResponse& response,
const std::string& data);
// Does the actual fetching.
scoped_ptr<ResourceFetcherWithTimeout> fetcher_;
- WebKit::WebFrame* frame_;
+ blink::WebFrame* frame_;
Callback callback_;
// The original request. If loading the alternate error page fails, it's
// needed to generate the error page.
- WebKit::WebURLRequest original_request_;
+ blink::WebURLRequest original_request_;
// The error associated with this load. If there's an error talking with the
// alt error page server, we need this to complete the original load.
- WebKit::WebURLError original_error_;
+ blink::WebURLError original_error_;
DISALLOW_COPY_AND_ASSIGN(AltErrorPageResourceFetcher);
};
« no previous file with comments | « content/renderer/external_popup_menu_browsertest.cc ('k') | content/renderer/fetchers/alt_error_page_resource_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698