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

Unified Diff: components/about_handler/url_request_about_job.h

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
Index: components/about_handler/url_request_about_job.h
diff --git a/net/url_request/url_request_about_job.h b/components/about_handler/url_request_about_job.h
similarity index 58%
rename from net/url_request/url_request_about_job.h
rename to components/about_handler/url_request_about_job.h
index 36778b898648fe97350638e765510a5c64017a48..e37c568b8d0001c0cc80dfb1d1ce423f155dbbb3 100644
--- a/net/url_request/url_request_about_job.h
+++ b/components/about_handler/url_request_about_job.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
-#define NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
+#ifndef COMPONENTS_ABOUT_HANDLER_URL_REQUEST_ABOUT_JOB_H_
+#define COMPONENTS_ABOUT_HANDLER_URL_REQUEST_ABOUT_JOB_H_
#include <string>
@@ -11,11 +11,12 @@
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_job.h"
-namespace net {
+namespace about_handler {
-class NET_EXPORT URLRequestAboutJob : public URLRequestJob {
+class URLRequestAboutJob : public net::URLRequestJob {
public:
- URLRequestAboutJob(URLRequest* request, NetworkDelegate* network_delegate);
+ URLRequestAboutJob(net::URLRequest* request,
+ net::NetworkDelegate* network_delegate);
// URLRequestJob:
void Start() override;
@@ -29,6 +30,6 @@ class NET_EXPORT URLRequestAboutJob : public URLRequestJob {
base::WeakPtrFactory<URLRequestAboutJob> weak_factory_;
};
-} // namespace net
+} // namespace about_handler
-#endif // NET_URL_REQUEST_URL_REQUEST_ABOUT_JOB_H_
+#endif // COMPONENTS_ABOUT_HANDLER_URL_REQUEST_ABOUT_JOB_H_
« no previous file with comments | « components/about_handler/about_protocol_handler.cc ('k') | components/about_handler/url_request_about_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698