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

Unified Diff: mojo/shell/domain_socket/completion_callback.h

Issue 775343004: Move //mojo/shell to //shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « mojo/shell/domain_socket/BUILD.gn ('k') | mojo/shell/domain_socket/net_error_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/domain_socket/completion_callback.h
diff --git a/mojo/shell/domain_socket/completion_callback.h b/mojo/shell/domain_socket/completion_callback.h
deleted file mode 100644
index 89f121e47e5e3c3cf86020adef3f0d1205a5d477..0000000000000000000000000000000000000000
--- a/mojo/shell/domain_socket/completion_callback.h
+++ /dev/null
@@ -1,27 +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 MOJO_SHELL_DOMAIN_SOCKET_COMPLETION_CALLBACK_H__
-#define MOJO_SHELL_DOMAIN_SOCKET_COMPLETION_CALLBACK_H__
-
-#include "base/callback.h"
-#include "base/cancelable_callback.h"
-
-namespace mojo {
-namespace shell {
-
-// 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 shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_DOMAIN_SOCKET_COMPLETION_CALLBACK_H__
« no previous file with comments | « mojo/shell/domain_socket/BUILD.gn ('k') | mojo/shell/domain_socket/net_error_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698