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:
@@ -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);
|
||||||
// }
|
// }
|
||||||
// };
|
// };
|
||||||
|
Reference in New Issue
Block a user