Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: chrome/browser/profile_resetter/profile_resetter_test_base.cc

Issue 17274006: Reset profile: reset cookies and site data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698