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

Unified Diff: ppapi/tests/test_flash.cc

Issue 10681006: Add ppapi interface for setting crash data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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
« no previous file with comments | « ppapi/tests/test_flash.h ('k') | ppapi/thunk/interfaces_ppb_private_flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_flash.cc
diff --git a/ppapi/tests/test_flash.cc b/ppapi/tests/test_flash.cc
index e9964e2e9480eb63329abd4f4aa589b8828272dd..458de787450c42cec2936f66b192fcec299fdb3d 100644
--- a/ppapi/tests/test_flash.cc
+++ b/ppapi/tests/test_flash.cc
@@ -35,6 +35,7 @@ void TestFlash::RunTests(const std::string& filter) {
RUN_TEST(GetDeviceID, filter);
RUN_TEST(GetSettingInt, filter);
RUN_TEST(GetSetting, filter);
+ RUN_TEST(SetCrashData, filter);
}
std::string TestFlash::TestSetInstanceAlwaysOnTop() {
@@ -176,6 +177,15 @@ std::string TestFlash::TestGetSetting() {
PASS();
}
+std::string TestFlash::TestSetCrashData() {
+ pp::Var url("http://...");
+ ASSERT_TRUE(flash_interface_->SetCrashData(instance_->pp_instance(),
+ PP_FLASHCRASHKEY_URL,
+ url.pp_var()));
+
+ PASS();
+}
+
void TestFlash::QuitMessageLoopTask(int32_t) {
flash_interface_->QuitMessageLoop(instance_->pp_instance());
}
« no previous file with comments | « ppapi/tests/test_flash.h ('k') | ppapi/thunk/interfaces_ppb_private_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698