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

Unified Diff: content/renderer/geolocation_dispatcher.h

Issue 10316007: Make the Geoposition helper class public (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comments addressed. Created 8 years, 8 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: content/renderer/geolocation_dispatcher.h
diff --git a/content/renderer/geolocation_dispatcher.h b/content/renderer/geolocation_dispatcher.h
index ff3866507451257bb57b941184097d8019c026f1..670b5bf7071bd8929c029ee3c6ccad635dc3b89f 100644
--- a/content/renderer/geolocation_dispatcher.h
+++ b/content/renderer/geolocation_dispatcher.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,7 +12,10 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebGeolocationController.h"
class RenderViewImpl;
-struct Geoposition;
+
+namespace content {
+class Geoposition;
+}
namespace WebKit {
class WebGeolocationController;
@@ -50,7 +53,7 @@ class GeolocationDispatcher : public content::RenderViewObserver,
void OnPermissionSet(int bridge_id, bool is_allowed);
// We have an updated geolocation position or error code.
- void OnPositionUpdated(const Geoposition& geoposition);
+ void OnPositionUpdated(const content::Geoposition& geoposition);
// The controller_ is valid for the lifetime of the underlying
// WebCore::GeolocationController. geolocationDestroyed() is

Powered by Google App Engine
This is Rietveld 408576698