summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_purger.cc
diff options
context:
space:
mode:
authorsanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 18:49:34 +0000
committersanjeevr@chromium.org <sanjeevr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 18:49:34 +0000
commitabe2c035dd58c29f9c5f00807e502baa2cc462bc (patch)
tree45c383ddc14968e16e050938f73456e13a3fe980 /chrome/browser/memory_purger.cc
parent6cfef4d1548e36ecff926bdb148d9d497de4176c (diff)
downloadchromium_src-abe2c035dd58c29f9c5f00807e502baa2cc462bc.zip
chromium_src-abe2c035dd58c29f9c5f00807e502baa2cc462bc.tar.gz
chromium_src-abe2c035dd58c29f9c5f00807e502baa2cc462bc.tar.bz2
Moved URLRequestContextGetter to net/ so it can be used by projects such as jingle.
BUG=None TEST=Build. Review URL: http://codereview.chromium.org/6778025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_purger.cc')
-rw-r--r--chrome/browser/memory_purger.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/memory_purger.cc b/chrome/browser/memory_purger.cc
index c817ac3..291aa4d 100644
--- a/chrome/browser/memory_purger.cc
+++ b/chrome/browser/memory_purger.cc
@@ -13,7 +13,6 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/webdata/web_data_service.h"
-#include "chrome/common/net/url_request_context_getter.h"
#include "chrome/common/render_messages.h"
#include "content/browser/in_process_webkit/webkit_context.h"
#include "content/browser/renderer_host/backing_store_manager.h"
@@ -22,6 +21,7 @@
#include "content/common/notification_service.h"
#include "net/proxy/proxy_resolver.h"
#include "net/url_request/url_request_context.h"
+#include "net/url_request/url_request_context_getter.h"
#include "third_party/tcmalloc/chromium/src/google/malloc_extension.h"
#include "v8/include/v8.h"
@@ -38,12 +38,12 @@ class PurgeMemoryIOHelper
}
void AddRequestContextGetter(
- scoped_refptr<URLRequestContextGetter> request_context_getter);
+ scoped_refptr<net::URLRequestContextGetter> request_context_getter);
void PurgeMemoryOnIOThread();
private:
- typedef scoped_refptr<URLRequestContextGetter> RequestContextGetter;
+ typedef scoped_refptr<net::URLRequestContextGetter> RequestContextGetter;
typedef std::set<RequestContextGetter> RequestContextGetters;
RequestContextGetters request_context_getters_;
@@ -53,7 +53,7 @@ class PurgeMemoryIOHelper
};
void PurgeMemoryIOHelper::AddRequestContextGetter(
- scoped_refptr<URLRequestContextGetter> request_context_getter) {
+ scoped_refptr<net::URLRequestContextGetter> request_context_getter) {
request_context_getters_.insert(request_context_getter);
}