0

Remove MessageLoop::QuitTask() from testing/

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8879028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113903 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
dcheng@chromium.org
2011-12-10 00:55:07 +00:00
parent d64fb7d1b4
commit 6f3c13c94a
2 changed files with 4 additions and 4 deletions

@@ -7,7 +7,7 @@ import string
import sys import sys
HEADER = """\ HEADER = """\
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
@@ -57,7 +57,7 @@ HEADER = """\
// //
// void QuitMessageLoop(int seconds) { // void QuitMessageLoop(int seconds) {
// MessageLoop* loop = MessageLoop::current(); // MessageLoop* loop = MessageLoop::current();
// loop->PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask, // loop->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
// 1000 * seconds); // 1000 * seconds);
// } // }
// }; // };
@@ -112,7 +112,7 @@ HEADER = """\
// CreateFunctor(&mock->demiurge_, &Demiurge::DecreaseMonsters)))); // CreateFunctor(&mock->demiurge_, &Demiurge::DecreaseMonsters))));
// //
#include "base/linked_ptr.h" #include "base/memory/linked_ptr.h"
#include "base/tuple.h" // for Tuple #include "base/tuple.h" // for Tuple
namespace testing {""" namespace testing {"""

@@ -48,7 +48,7 @@
// //
// void QuitMessageLoop(int seconds) { // void QuitMessageLoop(int seconds) {
// MessageLoop* loop = MessageLoop::current(); // MessageLoop* loop = MessageLoop::current();
// loop->PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask, // loop->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
// 1000 * seconds); // 1000 * seconds);
// } // }
// }; // };