Chromium Code Reviews| Index: chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
| diff --git a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
| index 37e840620f4f0be3d2a75a35fe0d92156f3f3009..677508735cb18e6ca3ddf63b519467aa20f0a3f3 100644 |
| --- a/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
| +++ b/chrome/browser/geolocation/geolocation_permission_context_unittest.cc |
| @@ -32,6 +32,7 @@ |
| #include "components/infobars/core/infobar.h" |
| #include "content/public/browser/browser_thread.h" |
| #include "content/public/browser/navigation_details.h" |
| +#include "content/public/browser/navigation_entry.h" |
| #include "content/public/browser/notification_observer.h" |
| #include "content/public/browser/notification_registrar.h" |
| #include "content/public/browser/notification_service.h" |
| @@ -224,8 +225,9 @@ void GeolocationPermissionContextTests::AddNewTab(const GURL& url) { |
| content::WebContents* new_tab = CreateTestWebContents(); |
| new_tab->GetController().LoadURL( |
| url, content::Referrer(), ui::PAGE_TRANSITION_TYPED, std::string()); |
| + content::NavigationEntry* entry = new_tab->GetController().GetPendingEntry(); |
| content::RenderFrameHostTester::For(new_tab->GetMainFrame()) |
| - ->SendNavigate(extra_tabs_.size() + 1, url); |
| + ->SendNavigate(extra_tabs_.size() + 1, entry->GetUniqueID(), true, url); |
|
Michael van Ouwerkerk
2015/04/27 11:20:25
What does |true| stand for? Maybe add a comment li
Avi (use Gerrit)
2015/04/27 14:56:33
true is for did_create_new_entry.
I can't comment
|
| // Set up required helpers, and make this be as "tabby" as the code requires. |
| #if defined(ENABLE_EXTENSIONS) |