Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8839)

Unified Diff: chrome/test/base/testing_profile.cc

Issue 7484072: Migrate geolocation settings to host content settings map. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index da08ed6e63bcec938b8845d0bfa864bc700c4611..a7ceb19aacd404c10e9ab6dfa10e9329336ec45f 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -22,7 +22,6 @@
#include "chrome/browser/extensions/extension_special_storage_policy.h"
#include "chrome/browser/favicon/favicon_service.h"
#include "chrome/browser/geolocation/chrome_geolocation_permission_context.h"
-#include "chrome/browser/geolocation/geolocation_content_settings_map.h"
#include "chrome/browser/history/history.h"
#include "chrome/browser/history/history_backend.h"
#include "chrome/browser/history/top_sites.h"
@@ -628,15 +627,6 @@ HostContentSettingsMap* TestingProfile::GetHostContentSettingsMap() {
return host_content_settings_map_.get();
}
-GeolocationContentSettingsMap*
-TestingProfile::GetGeolocationContentSettingsMap() {
- if (!geolocation_content_settings_map_.get()) {
- geolocation_content_settings_map_ =
- new GeolocationContentSettingsMap(this);
- }
- return geolocation_content_settings_map_.get();
-}
-
GeolocationPermissionContext*
TestingProfile::GetGeolocationPermissionContext() {
if (!geolocation_permission_context_.get()) {

Powered by Google App Engine
This is Rietveld 408576698