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

Unified Diff: src/base/file-utils.cc

Issue 2393603002: Revert of Turn libbase into a component (Closed)
Patch Set: Created 4 years, 2 months 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 | « src/base/file-utils.h ('k') | src/base/functional.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/file-utils.cc
diff --git a/src/base/file-utils.cc b/src/base/file-utils.cc
index 31b1b411908dc90be182c96f68c7a53433de5950..2262df97d0351c825198a07be2b9dce82aa0bb11 100644
--- a/src/base/file-utils.cc
+++ b/src/base/file-utils.cc
@@ -10,13 +10,13 @@
#include "src/base/platform/platform.h"
namespace v8 {
-namespace base {
+namespace internal {
char* RelativePath(char** buffer, const char* exec_path, const char* name) {
DCHECK(exec_path);
int path_separator = static_cast<int>(strlen(exec_path)) - 1;
while (path_separator >= 0 &&
- !OS::isDirectorySeparator(exec_path[path_separator])) {
+ !base::OS::isDirectorySeparator(exec_path[path_separator])) {
path_separator--;
}
if (path_separator >= 0) {
@@ -32,5 +32,5 @@
return *buffer;
}
-} // namespace base
+} // namespace internal
} // namespace v8
« no previous file with comments | « src/base/file-utils.h ('k') | src/base/functional.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698