diff options
Diffstat (limited to 'chrome/browser/profiles/profile_destroyer_unittest.cc')
-rw-r--r-- | chrome/browser/profiles/profile_destroyer_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/profiles/profile_destroyer_unittest.cc b/chrome/browser/profiles/profile_destroyer_unittest.cc index d401041..8ffcab2 100644 --- a/chrome/browser/profiles/profile_destroyer_unittest.cc +++ b/chrome/browser/profiles/profile_destroyer_unittest.cc @@ -21,7 +21,7 @@ class TestingOffTheRecordDestructionProfile : public TestingProfile { destroyed_otr_profile_(false) { set_incognito(true); } - virtual void DestroyOffTheRecordProfile() override { + void DestroyOffTheRecordProfile() override { destroyed_otr_profile_ = true; } bool destroyed_otr_profile_; @@ -35,11 +35,11 @@ class TestingOriginalDestructionProfile : public TestingProfile { DCHECK_EQ(kNull, living_instance_); living_instance_ = this; } - virtual ~TestingOriginalDestructionProfile() { + ~TestingOriginalDestructionProfile() override { DCHECK_EQ(this, living_instance_); living_instance_ = NULL; } - virtual void DestroyOffTheRecordProfile() override { + void DestroyOffTheRecordProfile() override { SetOffTheRecordProfile(NULL); destroyed_otr_profile_ = true; } @@ -62,7 +62,7 @@ class ProfileDestroyerTest : public BrowserWithTestWindowTest { ProfileDestroyerTest() : off_the_record_profile_(NULL) {} protected: - virtual TestingProfile* CreateProfile() override { + TestingProfile* CreateProfile() override { if (off_the_record_profile_ == NULL) off_the_record_profile_ = new TestingOffTheRecordDestructionProfile(); return off_the_record_profile_; |