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

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 2104193002: Geolocation: Extract GeolocationProvider::Delegate into GeolocationDelegate (no new code) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam@ nit: content/browser/geolocation/geolocation_delegate.cc --> content/public/browser Created 4 years, 6 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
« no previous file with comments | « content/shell/browser/shell_content_browser_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index 005e474b698d48f86f4103363cb718f2450e07f0..5079a293cd1ef90e5614e0d2e04bc67e2ae5d274 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -17,6 +17,7 @@
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "content/public/browser/client_certificate_delegate.h"
+#include "content/public/browser/geolocation_delegate.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/resource_dispatcher_host.h"
@@ -119,7 +120,7 @@ int GetCrashSignalFD(const base::CommandLine& command_line) {
#endif // defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
// A provider of services for Geolocation.
-class ShellGeolocationDelegate : public content::GeolocationProvider::Delegate {
+class ShellGeolocationDelegate : public content::GeolocationDelegate {
public:
explicit ShellGeolocationDelegate(ShellBrowserContext* context)
: context_(context) {}
@@ -369,8 +370,7 @@ ShellBrowserContext*
return shell_browser_main_parts_->off_the_record_browser_context();
}
-GeolocationProvider::Delegate*
-ShellContentBrowserClient::CreateGeolocationDelegate() {
+GeolocationDelegate* ShellContentBrowserClient::CreateGeolocationDelegate() {
return new ShellGeolocationDelegate(browser_context());
}
« no previous file with comments | « content/shell/browser/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698