Index: chrome/browser/storage/durable_storage_permission_context_unittest.cc |
diff --git a/chrome/browser/storage/durable_storage_permission_context_unittest.cc b/chrome/browser/storage/durable_storage_permission_context_unittest.cc |
index d20ed28d0914b0919cefd9f03f21fdf9652e9007..e41b12392ba3c5b199296e949395762886d98d1c 100644 |
--- a/chrome/browser/storage/durable_storage_permission_context_unittest.cc |
+++ b/chrome/browser/storage/durable_storage_permission_context_unittest.cc |
@@ -20,6 +20,7 @@ |
#include "components/content_settings/core/browser/host_content_settings_map.h" |
#include "content/public/browser/permission_manager.h" |
#include "content/public/browser/render_process_host.h" |
+#include "content/public/browser/web_contents.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using bookmarks::BookmarkModel; |
@@ -54,7 +55,8 @@ class TestDurablePermissionContext : public DurableStoragePermissionContext { |
private: |
// NotificationPermissionContext: |
- void NotifyPermissionSet(const PermissionRequestID& id, |
+ void NotifyPermissionSet(content::WebContents* web_contents, |
+ const PermissionRequestID& id, |
const GURL& requesting_origin, |
const GURL& embedder_origin, |
const BrowserPermissionCallback& callback, |
@@ -64,7 +66,7 @@ class TestDurablePermissionContext : public DurableStoragePermissionContext { |
last_permission_set_persisted_ = persist; |
last_permission_set_setting_ = content_setting; |
DurableStoragePermissionContext::NotifyPermissionSet( |
- id, requesting_origin, embedder_origin, callback, persist, |
+ web_contents, id, requesting_origin, embedder_origin, callback, persist, |
content_setting); |
} |