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

Unified Diff: components/about_handler/url_request_about_job.cc

Issue 1284173003: Create a about handler component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 4 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 | « components/about_handler/url_request_about_job.h ('k') | components/components.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/about_handler/url_request_about_job.cc
diff --git a/net/url_request/url_request_about_job.cc b/components/about_handler/url_request_about_job.cc
similarity index 81%
rename from net/url_request/url_request_about_job.cc
rename to components/about_handler/url_request_about_job.cc
index 56193160f33e800740200416a1d66404f7db4075..880685a1b8d3654deaeab8070a91da22948033ab 100644
--- a/net/url_request/url_request_about_job.cc
+++ b/components/about_handler/url_request_about_job.cc
@@ -6,7 +6,7 @@
// about:blank. No other about: features should be available to web content,
// so they're not implemented here.
-#include "net/url_request/url_request_about_job.h"
+#include "components/about_handler/url_request_about_job.h"
#include "base/bind.h"
#include "base/compiler_specific.h"
@@ -14,10 +14,10 @@
#include "base/single_thread_task_runner.h"
#include "base/thread_task_runner_handle.h"
-namespace net {
+namespace about_handler {
-URLRequestAboutJob::URLRequestAboutJob(URLRequest* request,
- NetworkDelegate* network_delegate)
+URLRequestAboutJob::URLRequestAboutJob(net::URLRequest* request,
+ net::NetworkDelegate* network_delegate)
: URLRequestJob(request, network_delegate),
weak_factory_(this) {
}
@@ -42,4 +42,4 @@ void URLRequestAboutJob::StartAsync() {
NotifyHeadersComplete();
}
-} // namespace net
+} // namespace about_handler
« no previous file with comments | « components/about_handler/url_request_about_job.h ('k') | components/components.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698