summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.h
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.h
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.h')
-rw-r--r--chrome/test/testing_profile.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index f7c3efa..89b67ce 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -391,12 +391,10 @@ class TestingProfile : public Profile {
// site information.
class DerivedTestingProfile : public TestingProfile {
public:
- explicit DerivedTestingProfile(Profile* profile)
- : original_profile_(profile) {}
+ explicit DerivedTestingProfile(Profile* profile);
+ virtual ~DerivedTestingProfile();
- virtual ProfileId GetRuntimeId() {
- return original_profile_->GetRuntimeId();
- }
+ virtual ProfileId GetRuntimeId();
protected:
Profile* original_profile_;