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

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

Issue 2356053002: [HBD] Only use Plugin Content Settings for Flash. (Closed)
Patch Set: fix Created 4 years, 3 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
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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 10
(...skipping 10 matching lines...) Expand all
21 bool RegisterTestPlugin(base::CommandLine* command_line) WARN_UNUSED_RESULT; 21 bool RegisterTestPlugin(base::CommandLine* command_line) WARN_UNUSED_RESULT;
22 22
23 // Registers the PPAPI test plugin with some some extra parameters. Returns true 23 // Registers the PPAPI test plugin with some some extra parameters. Returns true
24 // on success and false otherwise. 24 // on success and false otherwise.
25 bool RegisterTestPluginWithExtraParameters( 25 bool RegisterTestPluginWithExtraParameters(
26 base::CommandLine* command_line, 26 base::CommandLine* command_line,
27 const base::FilePath::StringType& extra_registration_parameters) 27 const base::FilePath::StringType& extra_registration_parameters)
28 WARN_UNUSED_RESULT; 28 WARN_UNUSED_RESULT;
29 29
30 // Registers the Power Saver test plugin to application/x-ppapi-tests. 30 // Registers the Power Saver test plugin to application/x-ppapi-tests.
31 // Returns true on success, and false otherwise. 31 // Returns true on success, and false otherwise. This plugin is registered
32 // with the Flash name, so the Plugins Content Settings applies to it.
raymes 2016/09/26 08:18:30 I might just modify this function to register this
tommycli 2016/09/27 18:51:07 No problem with me! I stole this idea from your CL
32 bool RegisterPowerSaverTestPlugin(base::CommandLine* command_line) 33 bool RegisterPowerSaverTestPlugin(base::CommandLine* command_line)
33 WARN_UNUSED_RESULT; 34 WARN_UNUSED_RESULT;
34 35
35 // Registers the Blink test plugin to application/x-blink-test-plugin. 36 // Registers the Blink test plugin to application/x-blink-test-plugin.
36 bool RegisterBlinkTestPlugin(base::CommandLine* command_line) 37 bool RegisterBlinkTestPlugin(base::CommandLine* command_line)
37 WARN_UNUSED_RESULT; 38 WARN_UNUSED_RESULT;
38 39
39 } // namespace ppapi 40 } // namespace ppapi
40 41
41 #endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_ 42 #endif // CONTENT_PUBLIC_TEST_PPAPI_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698