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

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

Issue 2028823002: Refactor to make BlimpLocationProvider accessible to content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes try issue 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 | « blimp/engine/BUILD.gn ('k') | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8f50dfc86a4f8a0855402d2b18040ea78d7d0703..9f4ce84bd9a2e241870a36243712be7309804b27 100644
--- a/blimp/engine/app/blimp_content_browser_client.h
+++ b/blimp/engine/app/blimp_content_browser_client.h
@@ -6,6 +6,7 @@
#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 {
@@ -32,12 +33,17 @@ class BlimpContentBrowserClient : public content::ContentBrowserClient {
content::ServiceRegistry* registry,
content::RenderProcessHost* render_process_host) override;
+ content::LocationProvider* OverrideSystemLocationProvider() override;
+ bool UseNetworkLocationProviders() override;
+
BlimpBrowserContext* GetBrowserContext();
private:
// 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 | « blimp/engine/BUILD.gn ('k') | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698