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

Unified Diff: shell/domain_socket/net_errors.cc

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 | « shell/domain_socket/net_errors.h ('k') | shell/domain_socket/socket_descriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « shell/domain_socket/net_errors.h ('k') | shell/domain_socket/socket_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698