summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_profile_impl.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 21:23:53 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-23 21:23:53 +0000
commit9cddbe374f0d3d702532803bf4b2a15e76a918e4 (patch)
treed5bf36e3456fb7471be1a8b51ca30a66c1c68d08 /chrome/browser/automation/automation_profile_impl.h
parentf704c5b267c4eaca90408f485c5d921174300867 (diff)
downloadchromium_src-9cddbe374f0d3d702532803bf4b2a15e76a918e4.zip
chromium_src-9cddbe374f0d3d702532803bf4b2a15e76a918e4.tar.gz
chromium_src-9cddbe374f0d3d702532803bf4b2a15e76a918e4.tar.bz2
Add functions to purge the Web Database memory and get the service without creating it, for the memory purger.
BUG=23400 TEST=none Review URL: http://codereview.chromium.org/326014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_profile_impl.h')
-rw-r--r--chrome/browser/automation/automation_profile_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_profile_impl.h b/chrome/browser/automation/automation_profile_impl.h
index c893aa1..b549aca 100644
--- a/chrome/browser/automation/automation_profile_impl.h
+++ b/chrome/browser/automation/automation_profile_impl.h
@@ -87,6 +87,9 @@ class AutomationProfileImpl : public Profile {
virtual WebDataService* GetWebDataService(ServiceAccessType access) {
return original_profile_->GetWebDataService(access);
}
+ virtual WebDataService* GetWebDataServiceWithoutCreating() {
+ return original_profile_->GetWebDataServiceWithoutCreating();
+ }
virtual PasswordStore* GetPasswordStore(ServiceAccessType access) {
return original_profile_->GetPasswordStore(access);
}