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

Unified Diff: chromecast/browser/cast_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
Index: chromecast/browser/cast_content_browser_client.cc
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index 9ed05bf6ce18d400ab11598c768d54dcce5b5212..d78e0038d8d6203fe973f14a6002081b5889b654 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -41,6 +41,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/certificate_request_result_type.h"
#include "content/public/browser/client_certificate_delegate.h"
+#include "content/public/browser/geolocation_delegate.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/resource_dispatcher_host.h"
#include "content/public/browser/web_contents.h"
@@ -85,7 +86,7 @@ static std::unique_ptr<::shell::ShellClient> CreateMojoMediaApplication(
#endif // defined(ENABLE_MOJO_MEDIA_IN_BROWSER_PROCESS)
// A provider of services for Geolocation.
-class CastGeolocationDelegate : public content::GeolocationProvider::Delegate {
+class CastGeolocationDelegate : public content::GeolocationDelegate {
public:
explicit CastGeolocationDelegate(CastBrowserContext* context)
: context_(context) {}
@@ -276,7 +277,7 @@ void CastContentBrowserClient::AppendExtraCommandLineSwitches(
AppendExtraCommandLineSwitches(command_line);
}
-content::GeolocationProvider::Delegate*
+content::GeolocationDelegate*
CastContentBrowserClient::CreateGeolocationDelegate() {
return new CastGeolocationDelegate(
CastBrowserProcess::GetInstance()->browser_context());
« no previous file with comments | « chromecast/browser/cast_content_browser_client.h ('k') | content/browser/geolocation/geolocation_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698