| 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__
|
|
|