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

Unified Diff: remoting/base/url_request_context_getter.h

Issue 354693004: Switch to using URLRequestContextBuilder to create some URLRequestContexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge Created 6 years, 5 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 | « remoting/base/url_request_context.cc ('k') | remoting/base/url_request_context_getter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/url_request_context_getter.h
diff --git a/remoting/base/url_request_context.h b/remoting/base/url_request_context_getter.h
similarity index 67%
rename from remoting/base/url_request_context.h
rename to remoting/base/url_request_context_getter.h
index 6ce2d572b6722c8c1e9b8e411b43adb7f41cbc3e..d6edf16b840367a468b149d148a5a25439d9f74b 100644
--- a/remoting/base/url_request_context.h
+++ b/remoting/base/url_request_context_getter.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 REMOTING_BASE_URL_REQUEST_CONTEXT_H_
-#define REMOTING_BASE_URL_REQUEST_CONTEXT_H_
+#ifndef REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
+#define REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
#include <string>
@@ -21,22 +21,6 @@ class MessageLoopProxy;
namespace remoting {
-// Subclass of net::URLRequestContext which can be used to store extra
-// information for requests. This subclass is meant to be used in the
-// remoting Me2Me host process where the profile is not available.
-class URLRequestContext : public net::URLRequestContext {
- public:
- explicit URLRequestContext(
- scoped_ptr<net::ProxyConfigService> proxy_config_service);
-
- private:
- virtual ~URLRequestContext();
-
- net::URLRequestContextStorage storage_;
-
- DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
-};
-
class URLRequestContextGetter : public net::URLRequestContextGetter {
public:
URLRequestContextGetter(
@@ -60,4 +44,4 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
} // namespace remoting
-#endif // REMOTING_BASE_URL_REQUEST_CONTEXT_H_
+#endif // REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
« no previous file with comments | « remoting/base/url_request_context.cc ('k') | remoting/base/url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698