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

Unified Diff: mojo/shell/domain_socket/net_errors.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/net_error_list.h ('k') | mojo/shell/domain_socket/net_errors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/domain_socket/net_errors.h
diff --git a/mojo/shell/domain_socket/net_errors.h b/mojo/shell/domain_socket/net_errors.h
deleted file mode 100644
index 2db97da2ea90d418ad100cee960560f5bb2157e7..0000000000000000000000000000000000000000
--- a/mojo/shell/domain_socket/net_errors.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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_NET_ERRORS_H__
-#define MOJO_SHELL_DOMAIN_SOCKET_NET_ERRORS_H__
-
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/files/file.h"
-
-namespace mojo {
-namespace shell {
-namespace net {
-
-// Error values are negative.
-enum Error {
- // No error.
- OK = 0,
-
-#define NET_ERROR(label, value) ERR_ ## label = value,
-#include "mojo/shell/domain_socket/net_error_list.h"
-#undef NET_ERROR
-
-};
-
-// Returns a textual representation of the error code for logging purposes.
-std::string ErrorToString(int error);
-
-// A convenient function to translate file error to net error code.
-Error FileErrorToNetError(base::File::Error file_error);
-
-// Map system error code to Error.
-Error MapSystemError(int os_error);
-
-} // namespace net
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_DOMAIN_SOCKET_NET_ERRORS_H__
« no previous file with comments | « mojo/shell/domain_socket/net_error_list.h ('k') | mojo/shell/domain_socket/net_errors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698