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

Unified Diff: content/browser/net/url_request_slow_http_job.h

Issue 8493016: content: Remove 16 exit time destructors and 15 static initializers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac compile Created 9 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/browser/net/url_request_slow_http_job.h
diff --git a/content/browser/net/url_request_slow_http_job.h b/content/browser/net/url_request_slow_http_job.h
index 06d7ce6034f1d376fc4a34c6961efe5fd65641d5..b94d0b9d35697ba0a7987a2dbbe6166e393d766d 100644
--- a/content/browser/net/url_request_slow_http_job.h
+++ b/content/browser/net/url_request_slow_http_job.h
@@ -23,7 +23,8 @@ class URLRequestSlowHTTPJob : public URLRequestMockHTTPJob {
// Adds the testing URLs to the net::URLRequestFilter.
CONTENT_EXPORT static void AddUrlHandler(const FilePath& base_path);
- // Given the path to a file relative to base_path_, construct a mock URL.
+ // Given the path to a file relative to the path passed to AddUrlHandler(),
+ // construct a mock URL.
static GURL GetMockUrl(const FilePath& path);
virtual void Start();
@@ -34,10 +35,6 @@ class URLRequestSlowHTTPJob : public URLRequestMockHTTPJob {
void RealStart();
base::OneShotTimer<URLRequestSlowHTTPJob> delay_timer_;
-
- // This is the file path leading to the root of the directory to use as the
- // root of the http server.
- static FilePath base_path_;
};
#endif // CONTENT_BROWSER_NET_URL_REQUEST_SLOW_HTTP_JOB_H_
« no previous file with comments | « content/browser/net/url_request_slow_download_job.cc ('k') | content/browser/net/url_request_slow_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698