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

Unified Diff: content/public/test/ppapi_test_utils.h

Issue 1088763002: Plugin Power Saver: Add comprehensive browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0260-plugins-overhaul-prerender-tests
Patch Set: add back PostMessage undef 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/ppapi_test_utils.h
diff --git a/content/public/test/ppapi_test_utils.h b/content/public/test/ppapi_test_utils.h
index c5701bf9af5c4f7444158c2130b3c87d412382a9..a57d62f8c7934fc61fffbd0e37aeed160e222416 100644
--- a/content/public/test/ppapi_test_utils.h
+++ b/content/public/test/ppapi_test_utils.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/compiler_specific.h"
#include "base/files/file_path.h"
namespace base {
@@ -22,13 +23,19 @@ std::string StripTestPrefixes(const std::string& test_name);
// Registers the PPAPI test plugin to application/x-ppapi-tests. Returns true
// on success, and false otherwise.
-bool RegisterTestPlugin(base::CommandLine* command_line);
+bool RegisterTestPlugin(base::CommandLine* command_line) WARN_UNUSED_RESULT;
// Registers the PPAPI test plugin with some some extra parameters. Returns true
// on success and false otherwise.
bool RegisterTestPluginWithExtraParameters(
base::CommandLine* command_line,
- const base::FilePath::StringType& extra_registration_parameters);
+ const base::FilePath::StringType& extra_registration_parameters)
+ WARN_UNUSED_RESULT;
+
+// Registers the Power Saver test plugin to application/x-ppapi-tests.
+// Returns true on success, and false otherwise.
+bool RegisterPowerSaverTestPlugin(base::CommandLine* command_line)
+ WARN_UNUSED_RESULT;
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698