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

Unified Diff: Source/web/WebGeolocationPermissionRequestManager.cpp

Issue 468083003: Cleanup namespace usage in Source/web/Web[A-H]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing Created 6 years, 4 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 | « Source/web/WebGeolocationPermissionRequest.cpp ('k') | Source/web/WebGeolocationPosition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebGeolocationPermissionRequestManager.cpp
diff --git a/Source/web/WebGeolocationPermissionRequestManager.cpp b/Source/web/WebGeolocationPermissionRequestManager.cpp
index 6f217cd39c8d1197ece54d9539845660f191db9f..54ae4d2e8468b9c0e2964d153ba56dd9753536ee 100644
--- a/Source/web/WebGeolocationPermissionRequestManager.cpp
+++ b/Source/web/WebGeolocationPermissionRequestManager.cpp
@@ -30,8 +30,6 @@
#include "public/web/WebGeolocationPermissionRequest.h"
#include "wtf/HashMap.h"
-using namespace blink;
-
namespace blink {
typedef PersistentHeapHashMap<Member<Geolocation>, int> GeolocationIdMap;
@@ -43,7 +41,7 @@ public:
IdGeolocationMap m_idGeolocationMap;
};
-int WebGeolocationPermissionRequestManager::add(const blink::WebGeolocationPermissionRequest& permissionRequest)
+int WebGeolocationPermissionRequestManager::add(const WebGeolocationPermissionRequest& permissionRequest)
{
Geolocation* geolocation = permissionRequest.geolocation();
ASSERT(!m_private->m_geolocationIdMap.contains(geolocation));
@@ -54,7 +52,7 @@ int WebGeolocationPermissionRequestManager::add(const blink::WebGeolocationPermi
return id;
}
-bool WebGeolocationPermissionRequestManager::remove(const blink::WebGeolocationPermissionRequest& permissionRequest, int& id)
+bool WebGeolocationPermissionRequestManager::remove(const WebGeolocationPermissionRequest& permissionRequest, int& id)
{
Geolocation* geolocation = permissionRequest.geolocation();
GeolocationIdMap::iterator it = m_private->m_geolocationIdMap.find(geolocation);
@@ -66,7 +64,7 @@ bool WebGeolocationPermissionRequestManager::remove(const blink::WebGeolocationP
return true;
}
-bool WebGeolocationPermissionRequestManager::remove(int id, blink::WebGeolocationPermissionRequest& permissionRequest)
+bool WebGeolocationPermissionRequestManager::remove(int id, WebGeolocationPermissionRequest& permissionRequest)
{
IdGeolocationMap::iterator it = m_private->m_idGeolocationMap.find(id);
if (it == m_private->m_idGeolocationMap.end())
« no previous file with comments | « Source/web/WebGeolocationPermissionRequest.cpp ('k') | Source/web/WebGeolocationPosition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698