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

Unified Diff: content/browser/geolocation/win7_location_api_win.h

Issue 10316007: Make the Geoposition helper class public (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix forward-declaration of struct as class. 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/browser/geolocation/win7_location_api_win.h
diff --git a/content/browser/geolocation/win7_location_api_win.h b/content/browser/geolocation/win7_location_api_win.h
index a7be43cb0f0bf6715cbaed27b482811af8c7db3d..3f913d35a1e48c240ba1e0293940484f73ad6afd 100644
--- a/content/browser/geolocation/win7_location_api_win.h
+++ b/content/browser/geolocation/win7_location_api_win.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.
@@ -15,7 +15,9 @@
#include "base/win/scoped_com_initializer.h"
#include "content/common/content_export.h"
+namespace content {
struct Geoposition;
+}
// PropVariantToDouble
typedef HRESULT (WINAPI* PropVariantToDoubleFunction)
@@ -33,7 +35,7 @@ class CONTENT_EXPORT Win7LocationApi {
ILocation* locator);
// Gives the best available position.
// Returns false if no valid position is available.
- virtual void GetPosition(Geoposition* position);
+ virtual void GetPosition(content::Geoposition* position);
// Changes the "accuracy" needed. Affects power levels of devices.
virtual bool SetHighAccuracy(bool acc);
@@ -48,7 +50,7 @@ class CONTENT_EXPORT Win7LocationApi {
// Provides the best position fix if one is available.
// Does this by requesting a location report and querying it to obtain
// location information.
- virtual bool GetPositionIfFixed(Geoposition* position);
+ virtual bool GetPositionIfFixed(content::Geoposition* position);
// Ensure that COM has been initialized for this thread.
base::win::ScopedCOMInitializer com_initializer_;
« no previous file with comments | « content/browser/geolocation/win7_location_api_unittest_win.cc ('k') | content/browser/geolocation/win7_location_api_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698