OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "base/mac/bundle_locations.h" | 7 #include "base/mac/bundle_locations.h" |
| 8 #include "base/macros.h" |
8 #include "base/path_service.h" | 9 #include "base/path_service.h" |
9 #include "components/test_runner/blink_test_platform_support.h" | 10 #include "components/test_runner/blink_test_platform_support.h" |
10 | 11 |
11 #include <AppKit/AppKit.h> | 12 #include <AppKit/AppKit.h> |
12 #include <Foundation/Foundation.h> | 13 #include <Foundation/Foundation.h> |
13 | 14 |
14 namespace test_runner { | 15 namespace test_runner { |
15 | 16 |
16 namespace { | 17 namespace { |
17 | 18 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 base::FilePath plugins_dir; | 90 base::FilePath plugins_dir; |
90 PathService::Get(base::DIR_EXE, &plugins_dir); | 91 PathService::Get(base::DIR_EXE, &plugins_dir); |
91 plugins_dir = plugins_dir.AppendASCII("../../../plugins"); | 92 plugins_dir = plugins_dir.AppendASCII("../../../plugins"); |
92 base::CommandLine& command_line = *base::CommandLine::ForCurrentProcess(); | 93 base::CommandLine& command_line = *base::CommandLine::ForCurrentProcess(); |
93 command_line.AppendSwitchPath(kExtraPluginDir, plugins_dir); | 94 command_line.AppendSwitchPath(kExtraPluginDir, plugins_dir); |
94 | 95 |
95 return true; | 96 return true; |
96 } | 97 } |
97 | 98 |
98 } // namespace test_runner | 99 } // namespace test_runner |
OLD | NEW |