summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-10 00:55:07 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-10 00:55:07 +0000
commit6f3c13c94a60a3064d2c93e939ce1e75461be301 (patch)
treeb2ea31a91747a9e6236e3104cd123c48d3aec783 /testing
parentd64fb7d1b4b52f2e6d0b9baf7c36fb58ca63b902 (diff)
downloadchromium_src-6f3c13c94a60a3064d2c93e939ce1e75461be301.zip
chromium_src-6f3c13c94a60a3064d2c93e939ce1e75461be301.tar.gz
chromium_src-6f3c13c94a60a3064d2c93e939ce1e75461be301.tar.bz2
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
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/generate_gmock_mutant.py6
-rw-r--r--testing/gmock_mutant.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/testing/generate_gmock_mutant.py b/testing/generate_gmock_mutant.py
index fb977d4..bd870b5 100755
--- a/testing/generate_gmock_mutant.py
+++ b/testing/generate_gmock_mutant.py
@@ -7,7 +7,7 @@ import string
import sys
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
// found in the LICENSE file.
@@ -57,7 +57,7 @@ HEADER = """\
//
// void QuitMessageLoop(int seconds) {
// MessageLoop* loop = MessageLoop::current();
-// loop->PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask,
+// loop->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
// 1000 * seconds);
// }
// };
@@ -112,7 +112,7 @@ HEADER = """\
// CreateFunctor(&mock->demiurge_, &Demiurge::DecreaseMonsters))));
//
-#include "base/linked_ptr.h"
+#include "base/memory/linked_ptr.h"
#include "base/tuple.h" // for Tuple
namespace testing {"""
diff --git a/testing/gmock_mutant.h b/testing/gmock_mutant.h
index 7e991f0..20a2495 100644
--- a/testing/gmock_mutant.h
+++ b/testing/gmock_mutant.h
@@ -48,7 +48,7 @@
//
// void QuitMessageLoop(int seconds) {
// MessageLoop* loop = MessageLoop::current();
-// loop->PostDelayedTask(FROM_HERE, new MessageLoop::QuitTask,
+// loop->PostDelayedTask(FROM_HERE, MessageLoop::QuitClosure(),
// 1000 * seconds);
// }
// };