OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
6 #define CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ | 6 #define CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 12 matching lines...) Expand all Loading... | |
23 // Registers the PPAPI test plugin to application/x-ppapi-tests. Returns true | 23 // Registers the PPAPI test plugin to application/x-ppapi-tests. Returns true |
24 // on success, and false otherwise. | 24 // on success, and false otherwise. |
25 bool RegisterTestPlugin(base::CommandLine* command_line); | 25 bool RegisterTestPlugin(base::CommandLine* command_line); |
26 | 26 |
27 // Registers the PPAPI test plugin with some some extra parameters. Returns true | 27 // Registers the PPAPI test plugin with some some extra parameters. Returns true |
28 // on success and false otherwise. | 28 // on success and false otherwise. |
29 bool RegisterTestPluginWithExtraParameters( | 29 bool RegisterTestPluginWithExtraParameters( |
30 base::CommandLine* command_line, | 30 base::CommandLine* command_line, |
31 const base::FilePath::StringType& extra_registration_parameters); | 31 const base::FilePath::StringType& extra_registration_parameters); |
32 | 32 |
33 // Registers the Power Saver test plugin to application/x-ppapi-tests. | |
34 // Returns true on success, and false otherwise. | |
35 bool RegisterPowerSaverTestPlugin(base::CommandLine* command_line); | |
Paweł Hajdan Jr.
2015/04/20 22:38:17
Please add WARN_UNUSED_RESULT.
tommycli
2015/04/20 23:25:30
Done.
| |
36 | |
33 } // namespace ppapi | 37 } // namespace ppapi |
34 | 38 |
35 #endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ | 39 #endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ |
OLD | NEW |