Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / WebGeolocationPermissionRequestManager.cpp
index 1085487..39995dc 100644 (file)
 #include "WebGeolocationPermissionRequest.h"
 #include "wtf/HashMap.h"
 
-namespace WebCore {
-class Geolocation;
-}
+namespace blink {
 
 using namespace WebCore;
 
 typedef HashMap<Geolocation*, int> GeolocationIdMap;
 typedef HashMap<int, Geolocation*> IdGeolocationMap;
 
-namespace blink {
 class WebGeolocationPermissionRequestManagerPrivate {
 public:
     GeolocationIdMap m_geolocationIdMap;
     IdGeolocationMap m_idGeolocationMap;
 };
-}
-
-using namespace blink;
 
 int WebGeolocationPermissionRequestManager::add(const blink::WebGeolocationPermissionRequest& permissionRequest)
 {
@@ -93,3 +87,4 @@ void WebGeolocationPermissionRequestManager::reset()
     m_private.reset(0);
 }
 
+} // namespace blink