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

Unified Diff: blimp/engine/app/blimp_content_browser_client.h

Issue 2098553002: Geolocation: extract ContentBrowserClient methods specific to Geolocation into a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a TODO 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: blimp/engine/app/blimp_content_browser_client.h
diff --git a/blimp/engine/app/blimp_content_browser_client.h b/blimp/engine/app/blimp_content_browser_client.h
index 8d02198ee58caa3eab3bbda88d3cc7d8afaadf2f..9d2e56d847b27b92bd28b0684b08b4e17aa9ef29 100644
--- a/blimp/engine/app/blimp_content_browser_client.h
+++ b/blimp/engine/app/blimp_content_browser_client.h
@@ -6,7 +6,6 @@
#define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
#include "base/macros.h"
-#include "blimp/engine/feature/geolocation/blimp_location_provider.h"
#include "content/public/browser/content_browser_client.h"
namespace blimp {
@@ -33,8 +32,7 @@ class BlimpContentBrowserClient : public content::ContentBrowserClient {
shell::InterfaceRegistry* registry,
content::RenderProcessHost* render_process_host) override;
- content::LocationProvider* OverrideSystemLocationProvider() override;
- bool UseNetworkLocationProviders() override;
+ content::GeolocationProvider::Delegate* CreateGeolocationDelegate() override;
BlimpBrowserContext* GetBrowserContext();
@@ -42,8 +40,6 @@ class BlimpContentBrowserClient : public content::ContentBrowserClient {
// Owned by BrowserMainLoop
BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr;
- std::unique_ptr<BlimpLocationProvider> location_provider_;
-
DISALLOW_COPY_AND_ASSIGN(BlimpContentBrowserClient);
};
« no previous file with comments | « android_webview/browser/aw_content_browser_client.cc ('k') | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698