Commit 6f3c13c9 authored by dcheng@chromium.org's avatar dcheng@chromium.org

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
parent d64fb7d1
...@@ -7,7 +7,7 @@ import string ...@@ -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 = """\ ...@@ -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 = """\ ...@@ -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 @@ ...@@ -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);
// } // }
// }; // };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment