OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/profile_resetter/profile_resetter.h" | |
battre
2013/06/20 06:15:57
needed?
vasilii
2013/06/20 13:08:22
Yes, unfortunately. There is a ProfileResetter::~P
| |
6 #include "chrome/browser/profile_resetter/profile_resetter_test_base.h" | |
battre
2013/06/20 06:15:57
this should be the first include line
vasilii
2013/06/20 13:08:22
Done.
| |
7 | |
8 ProfileResetterMockObject::ProfileResetterMockObject() {} | |
9 | |
10 ProfileResetterMockObject::~ProfileResetterMockObject() {} | |
11 | |
12 void ProfileResetterMockObject::RunLoop() { | |
13 EXPECT_CALL(*this, Callback()); | |
14 runner_ = new content::MessageLoopRunner; | |
15 runner_->Run(); | |
16 } | |
17 | |
18 void ProfileResetterMockObject::StopLoop() { | |
19 DCHECK(runner_.get()); | |
20 Callback(); | |
21 runner_->Quit(); | |
22 } | |
23 | |
24 ProfileResetterTestBase::ProfileResetterTestBase() {} | |
25 | |
26 ProfileResetterTestBase::~ProfileResetterTestBase() {} | |
OLD | NEW |