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

Unified Diff: util/test/paths_win.cc

Issue 992503002: Locate test data more robustly (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: 2015 Created 5 years, 9 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 | « util/test/paths_test_data_root.txt ('k') | util/util.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/test/paths_win.cc
diff --git a/util/test/executable_path_win.cc b/util/test/paths_win.cc
similarity index 92%
rename from util/test/executable_path_win.cc
rename to util/test/paths_win.cc
index 024478d7552d5a0a3cdb03e5f686d193549b2ee3..bc299a42ee37c7d66819dba8ff142e6a13a06ee9 100644
--- a/util/test/executable_path_win.cc
+++ b/util/test/paths_win.cc
@@ -12,14 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "util/test/executable_path.h"
+#include "util/test/paths.h"
#include <windows.h>
namespace crashpad {
namespace test {
-base::FilePath ExecutablePath() {
+// static
+base::FilePath Paths::Executable() {
wchar_t executable_path[_MAX_PATH];
GetModuleFileName(nullptr, executable_path, sizeof(executable_path));
return base::FilePath(executable_path);
« no previous file with comments | « util/test/paths_test_data_root.txt ('k') | util/util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698