From b19537cdc317d6baab5183e111668ccc88c661f6 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Tue, 4 Oct 2011 15:02:18 +0000 Subject: Introduce a new CompletionCallback and TestCompletionCallback. Start using it in DnsRRResolver. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8095026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103885 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/completion_callback.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/base/completion_callback.h') diff --git a/net/base/completion_callback.h b/net/base/completion_callback.h index 1d3e551..7474793 100644 --- a/net/base/completion_callback.h +++ b/net/base/completion_callback.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. @@ -7,12 +7,14 @@ #pragma once #include "base/callback_old.h" +#include "base/callback.h" namespace net { // A callback specialization that takes a single int parameter. Usually this // is used to report a byte count or network error code. typedef Callback1::Type OldCompletionCallback; +typedef base::Callback CompletionCallback; // Used to implement a OldCompletionCallback. template -- cgit v1.1