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

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: . 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..67693364ac8f506cb6edc96592171e6dd8c5b7d4 100644
--- a/content/browser/net/url_request_slow_http_job.h
+++ b/content/browser/net/url_request_slow_http_job.h
@@ -23,7 +23,7 @@ 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 BasePath(), construct a mock URL.
static GURL GetMockUrl(const FilePath& path);
virtual void Start();
@@ -37,7 +37,7 @@ class URLRequestSlowHTTPJob : public URLRequestMockHTTPJob {
// 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_;
+ static FilePath& BasePath();
Mark Mentovai 2011/11/07 22:34:15 Same comments as the other base_path_-to-BasePath
};
#endif // CONTENT_BROWSER_NET_URL_REQUEST_SLOW_HTTP_JOB_H_

Powered by Google App Engine
This is Rietveld 408576698