summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 23:54:47 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 23:54:47 +0000
commita5add2c2624eaffd9290ee6b760b504cfc07a2ed (patch)
treef2a0dd83cbbf771fdf9ed8f01e72a89dfa9d3390 /chrome/test/testing_profile.cc
parent98723c4a32b20c4ba1ed95b0e9056788fb413ce6 (diff)
downloadchromium_src-a5add2c2624eaffd9290ee6b760b504cfc07a2ed.zip
chromium_src-a5add2c2624eaffd9290ee6b760b504cfc07a2ed.tar.gz
chromium_src-a5add2c2624eaffd9290ee6b760b504cfc07a2ed.tar.bz2
More test out-of-lining.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6484043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.cc')
-rw-r--r--chrome/test/testing_profile.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
index 285338f..43016f3 100644
--- a/chrome/test/testing_profile.cc
+++ b/chrome/test/testing_profile.cc
@@ -781,3 +781,12 @@ void TestingProfile::DestroyWebDataService() {
web_data_service_->Shutdown();
}
+
+DerivedTestingProfile::DerivedTestingProfile(Profile* profile)
+ : original_profile_(profile) {}
+
+DerivedTestingProfile::~DerivedTestingProfile() {}
+
+ProfileId DerivedTestingProfile::GetRuntimeId() {
+ return original_profile_->GetRuntimeId();
+}