| Index: chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
|
| diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
|
| index 5ae6f87dca274f33d80015925cfb8261434c7c2f..9bbbee41381e56ce274ec2922f93e2e28fe1cc4c 100644
|
| --- a/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
|
| +++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc
|
| @@ -23,7 +23,6 @@
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/web_contents.h"
|
| -#include "content/test/mock_geolocation.h"
|
| #include "content/test/mock_render_process_host.h"
|
| #include "content/test/test_browser_thread.h"
|
| #include "content/test/test_renderer_host.h"
|
| @@ -141,7 +140,6 @@ class GeolocationPermissionContextTests : public TabContentsWrapperTestHarness {
|
| virtual void TearDown() OVERRIDE;
|
|
|
| content::TestBrowserThread ui_thread_;
|
| - content::MockGeolocation mock_geolocation_;
|
|
|
| // A map between renderer child id and a pair represending the bridge id and
|
| // whether the requested permission was allowed.
|
| @@ -231,14 +229,12 @@ void GeolocationPermissionContextTests::CheckTabContentsState(
|
|
|
| void GeolocationPermissionContextTests::SetUp() {
|
| TabContentsWrapperTestHarness::SetUp();
|
| - mock_geolocation_.Setup();
|
| geolocation_permission_context_ =
|
| new ChromeGeolocationPermissionContext(profile());
|
| }
|
|
|
| void GeolocationPermissionContextTests::TearDown() {
|
| extra_tabs_.reset();
|
| - mock_geolocation_.TearDown();
|
| TabContentsWrapperTestHarness::TearDown();
|
| }
|
|
|
| @@ -603,5 +599,3 @@ TEST_F(GeolocationPermissionContextTests, InfoBarUsesCommittedEntry) {
|
| DeleteContents();
|
| infobar_0->InfoBarClosed();
|
| }
|
| -
|
| -
|
|
|