Index: public/platform/modules/permissions/WebPermissionObserver.h |
diff --git a/public/platform/modules/permissions/WebPermissionObserver.h b/public/platform/modules/permissions/WebPermissionObserver.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1cbb6290ab22cecf8a1f72afa50fc03baf09c369 |
--- /dev/null |
+++ b/public/platform/modules/permissions/WebPermissionObserver.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebPermissionObserver_h |
+#define WebPermissionObserver_h |
+ |
+#include "public/platform/modules/permissions/WebPermissionStatus.h" |
+#include "public/platform/modules/permissions/WebPermissionType.h" |
+ |
+namespace blink { |
+ |
+class WebPermissionObserver { |
+public: |
+ virtual void permissionChanged(WebPermissionType, WebPermissionStatus) = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebPermissionObserver_h |