Index: content/shell/renderer/test_runner/test_runner.h |
diff --git a/content/shell/renderer/test_runner/test_runner.h b/content/shell/renderer/test_runner/test_runner.h |
index 3c98c38d64bc50e5409cb3bd4800c10e225d0b57..eaae272a560110e4550a9f14a75084ca6fc4535c 100644 |
--- a/content/shell/renderer/test_runner/test_runner.h |
+++ b/content/shell/renderer/test_runner/test_runner.h |
@@ -15,6 +15,7 @@ |
#include "content/shell/renderer/test_runner/web_test_runner.h" |
#include "v8/include/v8.h" |
+class GURL; |
class SkBitmap; |
namespace blink { |
@@ -518,8 +519,12 @@ class TestRunner : public WebTestRunner, |
void SetMIDISysexPermission(bool value); |
// Grants permission for desktop notifications to an origin |
- void GrantWebNotificationPermission(const std::string& origin, |
+ void GrantWebNotificationPermission(const GURL& origin, |
bool permission_granted); |
+ |
+ // Clears all previously granted Web Notification permissions. |
+ void ClearWebNotificationPermissions(); |
+ |
// Simulates a click on a desktop notification. |
bool SimulateWebNotificationClick(const std::string& value); |