Index: shell/domain_socket/net_errors.cc |
diff --git a/mojo/shell/domain_socket/net_errors.cc b/shell/domain_socket/net_errors.cc |
similarity index 95% |
rename from mojo/shell/domain_socket/net_errors.cc |
rename to shell/domain_socket/net_errors.cc |
index b73c8895307b3b1430de8afa151c4f6465bb52f0..2216579f1eebdc5d3ea02c37f716f8858d5f9515 100644 |
--- a/mojo/shell/domain_socket/net_errors.cc |
+++ b/shell/domain_socket/net_errors.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "mojo/shell/domain_socket/net_errors.h" |
+#include "shell/domain_socket/net_errors.h" |
#include <errno.h> |
#include <stdlib.h> |
@@ -33,14 +33,14 @@ std::string ErrorToString(int error) { |
const char* error_string; |
switch (error) { |
#define NET_ERROR(label, value) \ |
- case ERR_ ## label: \ |
- error_string = # label; \ |
+ case ERR_##label: \ |
+ error_string = #label; \ |
break; |
-#include "mojo/shell/domain_socket/net_error_list.h" |
+#include "shell/domain_socket/net_error_list.h" |
#undef NET_ERROR |
- default: |
- NOTREACHED(); |
- error_string = "<unknown>"; |
+ default: |
+ NOTREACHED(); |
+ error_string = "<unknown>"; |
} |
return std::string("ERR_") + error_string; |
} |