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

Side by Side Diff: third_party/mojo/src/mojo/edk/test/test_utils_win.cc

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "mojo/edk/test/test_utils.h" 5 #include "mojo/edk/test/test_utils.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <io.h> 9 #include <io.h>
10 #include <string.h> 10 #include <string.h>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 base::FilePath GetFilePathForJSResource(const std::string& path) { 115 base::FilePath GetFilePathForJSResource(const std::string& path) {
116 std::string binding_path = "gen/" + path + ".js"; 116 std::string binding_path = "gen/" + path + ".js";
117 base::ReplaceChars(binding_path, "//", "\\", &binding_path); 117 base::ReplaceChars(binding_path, "//", "\\", &binding_path);
118 base::FilePath exe_dir; 118 base::FilePath exe_dir;
119 PathService::Get(base::DIR_EXE, &exe_dir); 119 PathService::Get(base::DIR_EXE, &exe_dir);
120 return exe_dir.AppendASCII(binding_path); 120 return exe_dir.AppendASCII(binding_path);
121 } 121 }
122 122
123 } // namespace test 123 } // namespace test
124 } // namespace mojo 124 } // namespace mojo
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/test/test_utils_posix.cc ('k') | third_party/mojo/src/mojo/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698