summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.cc
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 11:18:04 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 11:18:04 +0000
commitc476e6316a406234898bd0af07bd0a02ffb40f51 (patch)
treec6534cc82b467a399c58cb9c1b9b7c4d27f08e7d /chrome/test/testing_profile.cc
parent2e0c83f3ac2082c6b7db028bf80b77434823db10 (diff)
downloadchromium_src-c476e6316a406234898bd0af07bd0a02ffb40f51.zip
chromium_src-c476e6316a406234898bd0af07bd0a02ffb40f51.tar.gz
chromium_src-c476e6316a406234898bd0af07bd0a02ffb40f51.tar.bz2
Split out abstract interface from GeolocationPermissionContext
This allows clear separation of chrome from content without requiring a link-time dependency from content onto the embedder to provide the permission context implementaiton. BUG=None TEST=No new tests. Review URL: http://codereview.chromium.org/7037005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.cc')
-rw-r--r--chrome/test/testing_profile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
index 08dd691..d2249e6 100644
--- a/chrome/test/testing_profile.cc
+++ b/chrome/test/testing_profile.cc
@@ -22,6 +22,7 @@
#include "chrome/browser/extensions/extension_service.h"
#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"
@@ -50,7 +51,6 @@
#include "chrome/test/testing_pref_service.h"
#include "chrome/test/ui_test_utils.h"
#include "content/browser/browser_thread.h"
-#include "content/browser/geolocation/geolocation_permission_context.h"
#include "content/browser/in_process_webkit/webkit_context.h"
#include "content/browser/mock_resource_context.h"
#include "content/common/notification_service.h"
@@ -628,7 +628,7 @@ GeolocationPermissionContext*
TestingProfile::GetGeolocationPermissionContext() {
if (!geolocation_permission_context_.get()) {
geolocation_permission_context_ =
- new GeolocationPermissionContext(this);
+ new ChromeGeolocationPermissionContext(this);
}
return geolocation_permission_context_.get();
}