| Index: chrome/browser/profile_resetter/profile_resetter_test_base.cc
|
| diff --git a/chrome/browser/profile_resetter/profile_resetter_test_base.cc b/chrome/browser/profile_resetter/profile_resetter_test_base.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b23961865f97c61e5bfbe497b9459443b515e863
|
| --- /dev/null
|
| +++ b/chrome/browser/profile_resetter/profile_resetter_test_base.cc
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/profile_resetter/profile_resetter_test_base.h"
|
| +
|
| +#include "chrome/browser/profile_resetter/profile_resetter.h"
|
| +
|
| +ProfileResetterMockObject::ProfileResetterMockObject() {}
|
| +
|
| +ProfileResetterMockObject::~ProfileResetterMockObject() {}
|
| +
|
| +void ProfileResetterMockObject::RunLoop() {
|
| + EXPECT_CALL(*this, Callback());
|
| + runner_ = new content::MessageLoopRunner;
|
| + runner_->Run();
|
| +}
|
| +
|
| +void ProfileResetterMockObject::StopLoop() {
|
| + DCHECK(runner_.get());
|
| + Callback();
|
| + runner_->Quit();
|
| +}
|
| +
|
| +ProfileResetterTestBase::ProfileResetterTestBase() {}
|
| +
|
| +ProfileResetterTestBase::~ProfileResetterTestBase() {}
|
|
|