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

Unified Diff: base/callback_unittest.cc

Issue 6538045: Callback: Replumb the type-inference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: rebased Created 9 years, 10 months 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 | « base/callback.h.pump ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/callback_unittest.cc
diff --git a/base/callback_unittest.cc b/base/callback_unittest.cc
index e41b39988a91fb5eb1e300f1dde2059e436d000e..f327412c2e2f399c8147dbb48cdae8f28edf43c7 100644
--- a/base/callback_unittest.cc
+++ b/base/callback_unittest.cc
@@ -21,7 +21,7 @@ class HelperObject {
int next_number_;
};
-struct FakeTraits {
+struct FakeInvoker {
static void DoInvoke(internal::InvokerStorageBase*) {
}
};
@@ -30,12 +30,12 @@ struct FakeTraits {
// comparators and emptiness APIs.
class FakeInvokerStorage1 : public internal::InvokerStorageBase {
public:
- typedef FakeTraits FunctionTraits;
+ typedef FakeInvoker Invoker;
};
class FakeInvokerStorage2 : public internal::InvokerStorageBase {
public:
- typedef FakeTraits FunctionTraits;
+ typedef FakeInvoker Invoker;
};
TEST(CallbackOld, OneArg) {
« no previous file with comments | « base/callback.h.pump ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698