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

Side by Side Diff: content/public/test/ppapi_test_utils.h

Issue 1062163004: Plugins: Move Prerender tests to PPAPI and some refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
raymes 2015/04/15 06:44:18 nit 2015
tommycli 2015/04/15 18:23:18 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
6 #define CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
7
8 #include <string>
raymes 2015/04/15 06:44:18 nit add space below this
tommycli 2015/04/15 18:23:19 Done.
9 #include "base/files/file_path.h"
10
11 namespace base {
12 class CommandLine;
13 }
14
15 // This file specifies utility functions used in Pepper testing in
16 // browser_tests and content_browsertests.
17
raymes 2015/04/15 06:44:18 nit: remove blank line
tommycli 2015/04/15 18:23:19 Done.
18 namespace ppapi {
19
20 // Strips prefixes used to annotate tests from a test name.
21 std::string StripTestPrefixes(const std::string& test_name);
22
23 // Registers the PPAPI test plugin to application/x-ppapi-tests.
24 void RegisterTestLibrary(base::CommandLine* command_line);
raymes 2015/04/15 06:44:18 nit: You might call this RegisterTestPlugin
tommycli 2015/04/15 18:23:19 Done.
25
26 // Registers the PPAPI test plugin with some some extra parameters.
27 void RegisterTestLibraryWithExtraParameters(
raymes 2015/04/15 06:44:18 RegisterTestPluginWithExtraParameters
tommycli 2015/04/15 18:23:18 Done.
28 base::CommandLine* command_line,
29 const base::FilePath::StringType& extra_registration_parameters);
30
31 } // namespace ppapi
32
33 #endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698