| Index: content/shell/renderer/test_runner/test_runner.cc
|
| diff --git a/content/shell/renderer/test_runner/test_runner.cc b/content/shell/renderer/test_runner/test_runner.cc
|
| index 17350e20b3d29cc997777ac281bd3e7f15899cfc..60f0964c16bb8b0ebdc01f6af20229bd847edc9d 100644
|
| --- a/content/shell/renderer/test_runner/test_runner.cc
|
| +++ b/content/shell/renderer/test_runner/test_runner.cc
|
| @@ -1327,19 +1327,9 @@ void TestRunnerBindings::SetMIDIAccessorResult(bool result) {
|
| }
|
|
|
| void TestRunnerBindings::GrantWebNotificationPermission(gin::Arguments* args) {
|
| - if (runner_) {
|
| - std::string origin;
|
| - bool permission_granted = true;
|
| - args->GetNext(&origin);
|
| - args->GetNext(&permission_granted);
|
| - return runner_->GrantWebNotificationPermission(GURL(origin),
|
| - permission_granted);
|
| - }
|
| }
|
|
|
| void TestRunnerBindings::ClearWebNotificationPermissions() {
|
| - if (runner_)
|
| - runner_->ClearWebNotificationPermissions();
|
| }
|
|
|
| void TestRunnerBindings::SimulateWebNotificationClick(
|
| @@ -2829,15 +2819,6 @@ void TestRunner::SetMIDIAccessorResult(bool result) {
|
| midi_accessor_result_ = result;
|
| }
|
|
|
| -void TestRunner::GrantWebNotificationPermission(const GURL& origin,
|
| - bool permission_granted) {
|
| - delegate_->GrantWebNotificationPermission(origin, permission_granted);
|
| -}
|
| -
|
| -void TestRunner::ClearWebNotificationPermissions() {
|
| - delegate_->ClearWebNotificationPermissions();
|
| -}
|
| -
|
| void TestRunner::SimulateWebNotificationClick(const std::string& title) {
|
| delegate_->SimulateWebNotificationClick(title);
|
| }
|
|
|