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

Side by Side Diff: mojo/test/test_utils_posix.cc

Issue 2008383002: Remove a bunch of stuff in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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
« no previous file with comments | « mojo/test/test_utils.h ('k') | mojo/test/test_utils_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "mojo/test/test_utils.h"
6
7 #include "base/base_paths.h"
8 #include "base/path_service.h"
9
10 namespace mojo {
11 namespace test {
12
13 base::FilePath GetFilePathForJSResource(const std::string& path) {
14 std::string binding_path = "gen/" + path + ".js";
15 base::FilePath exe_dir;
16 PathService::Get(base::DIR_EXE, &exe_dir);
17 return exe_dir.AppendASCII(binding_path);
18 }
19
20 } // namespace test
21 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/test/test_utils.h ('k') | mojo/test/test_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698