summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_service.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 01:39:58 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 01:39:58 +0000
commit0cf348bee91869f8ec4b17995fc65bfb02c0755d (patch)
tree2e4b045102485224511bdb794ab4ed7024d1a94f /net/proxy/proxy_service.h
parentec2191fc123ffe5208995a4f4bd3f4e350590a44 (diff)
downloadchromium_src-0cf348bee91869f8ec4b17995fc65bfb02c0755d.zip
chromium_src-0cf348bee91869f8ec4b17995fc65bfb02c0755d.tar.gz
chromium_src-0cf348bee91869f8ec4b17995fc65bfb02c0755d.tar.bz2
Add the ability to purge memory to the ProxyResolver.
BUG=23400 TEST=none Review URL: http://codereview.chromium.org/272018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_service.h')
-rw-r--r--net/proxy/proxy_service.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h
index b38938f..c5c4516 100644
--- a/net/proxy/proxy_service.h
+++ b/net/proxy/proxy_service.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -100,6 +100,9 @@ class ProxyService : public base::RefCountedThreadSafe<ProxyService> {
// |new_proxy_config_service|.
void ResetConfigService(ProxyConfigService* new_proxy_config_service);
+ // Tells the resolver to purge any memory it does not need.
+ void PurgeMemory();
+
// Returns the log for the most recent WPAD + PAC initialization.
// (This shows how much time was spent downloading and parsing the
// PAC scripts for the current configuration).