// The test extension sends a message to its 'friend'. The test completes
// if it successfully sees the 'friend' receive the message.
IN_PROC_BROWSER_TEST_F(ActivityLogApiTest, MAYBE_TriggerEvent) {
- ActivityLog::GetInstance(profile())->SetWatchdogAppActive(true);
+ ActivityLog::GetInstance(profile())->SetWatchdogAppActiveForTesting(true);
host_resolver()->AddRule("*", "127.0.0.1");
ASSERT_TRUE(StartEmbeddedTestServer());
test_data_dir_.AppendASCII("activity_log_private/friend"));
ASSERT_TRUE(friend_extension);
ASSERT_TRUE(RunExtensionTest("activity_log_private/test"));
- ActivityLog::GetInstance(profile())->SetWatchdogAppActive(false);
+ ActivityLog::GetInstance(profile())->SetWatchdogAppActiveForTesting(false);
}
} // namespace extensions