tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

GeoclueLocationProvider.h (718B)


      1 /*
      2 * This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
      5 */
      6 
      7 #ifndef GeoclueLocationProvider_h
      8 #define GeoclueLocationProvider_h
      9 
     10 #include "mozilla/RefPtr.h"
     11 #include "nsIGeolocationProvider.h"
     12 
     13 namespace mozilla::dom {
     14 
     15 class GCLocProviderPriv;
     16 
     17 class GeoclueLocationProvider final : public nsIGeolocationProvider {
     18 public:
     19  NS_DECL_ISUPPORTS
     20  NS_DECL_NSIGEOLOCATIONPROVIDER
     21 
     22  GeoclueLocationProvider();
     23 
     24 private:
     25  ~GeoclueLocationProvider() = default;
     26 
     27  RefPtr<GCLocProviderPriv> mPriv;
     28 };
     29 
     30 }  // namespace mozilla::dom
     31 
     32 #endif /* GeoclueLocationProvider_h */