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

Unified Diff: testing/generate_gmock_mutant.py

Issue 8879028: Remove MessageLoop::QuitTask() from testing/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | testing/gmock_mutant.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/generate_gmock_mutant.py
diff --git a/testing/generate_gmock_mutant.py b/testing/generate_gmock_mutant.py
index fb977d417cebcb15b10742c98f9fe7a8f962c8af..bd870b50b9f758d9edd0f77542aca822402d5109 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 {"""
« no previous file with comments | « no previous file | testing/gmock_mutant.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698