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

Unified Diff: net/test/url_request_failed_job.h

Issue 525613002: Set up initial MockURLRequestJob tests for Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 6 years, 3 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: net/test/url_request_failed_job.h
diff --git a/content/test/net/url_request_failed_job.h b/net/test/url_request_failed_job.h
similarity index 90%
copy from content/test/net/url_request_failed_job.h
copy to net/test/url_request_failed_job.h
index a6c5a07a3dd3511e40ebf4b3f7f5941c8665bc97..a001683700e7c6491e33c47f908cc15e3a9d8a17 100644
--- a/content/test/net/url_request_failed_job.h
+++ b/net/test/url_request_failed_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 CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_
-#define CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_
+#ifndef NET_TEST_URL_REQUEST_FAILED_JOB_H_
+#define NET_TEST_URL_REQUEST_FAILED_JOB_H_
mmenke 2014/09/03 18:02:35 Rather than duplicate the old file, we should move
#include <string>
@@ -12,7 +12,7 @@
#include "net/url_request/url_request_job.h"
#include "url/gurl.h"
-namespace content {
+namespace net {
// This class simulates a URLRequestJob failing with a given error code while
// trying to connect.
@@ -59,6 +59,6 @@ class URLRequestFailedJob : public net::URLRequestJob {
DISALLOW_COPY_AND_ASSIGN(URLRequestFailedJob);
};
-} // namespace content
+} // namespace net
-#endif // CONTENT_TEST_NET_URL_REQUEST_FAILED_JOB_H_
+#endif // NET_TEST_URL_REQUEST_FAILED_JOB_H_

Powered by Google App Engine
This is Rietveld 408576698