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

Unified Diff: net/base/completion_callback.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/base/chunked_upload_data_stream_unittest.cc ('k') | net/base/connection_type_histograms.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/completion_callback.h
diff --git a/net/base/completion_callback.h b/net/base/completion_callback.h
deleted file mode 100644
index 7e5c90e8bab0e872add07925218a43c531fba9dd..0000000000000000000000000000000000000000
--- a/net/base/completion_callback.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef NET_BASE_COMPLETION_CALLBACK_H__
-#define NET_BASE_COMPLETION_CALLBACK_H__
-
-#include "base/callback.h"
-#include "base/cancelable_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 base::Callback<void(int)> CompletionCallback;
-
-// 64bit version of callback specialization that takes a single int64 parameter.
-// Usually this is used to report a file offset, size or network error code.
-typedef base::Callback<void(int64)> Int64CompletionCallback;
-
-typedef base::CancelableCallback<void(int)> CancelableCompletionCallback;
-
-} // namespace net
-
-#endif // NET_BASE_COMPLETION_CALLBACK_H__
« no previous file with comments | « net/base/chunked_upload_data_stream_unittest.cc ('k') | net/base/connection_type_histograms.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698