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

Unified Diff: Source/web/WebGeolocationPermissionRequestManager.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 bee4a3c46bc2888ff510d3f15e59009b944d31e6..10854878fa2626b59d1a2d2e2a36a307886fa513 100644
--- a/Source/web/WebGeolocationPermissionRequestManager.cpp
+++ b/Source/web/WebGeolocationPermissionRequestManager.cpp
@@ -38,7 +38,7 @@ using namespace WebCore;
typedef HashMap<Geolocation*, int> GeolocationIdMap;
typedef HashMap<int, Geolocation*> IdGeolocationMap;
-namespace WebKit {
+namespace blink {
class WebGeolocationPermissionRequestManagerPrivate {
public:
GeolocationIdMap m_geolocationIdMap;
@@ -46,9 +46,9 @@ public:
};
}
-using namespace WebKit;
+using namespace blink;
-int WebGeolocationPermissionRequestManager::add(const WebKit::WebGeolocationPermissionRequest& permissionRequest)
+int WebGeolocationPermissionRequestManager::add(const blink::WebGeolocationPermissionRequest& permissionRequest)
{
Geolocation* geolocation = permissionRequest.geolocation();
ASSERT(!m_private->m_geolocationIdMap.contains(geolocation));
@@ -58,7 +58,7 @@ int WebGeolocationPermissionRequestManager::add(const WebKit::WebGeolocationPerm
return id;
}
-bool WebGeolocationPermissionRequestManager::remove(const WebKit::WebGeolocationPermissionRequest& permissionRequest, int& id)
+bool WebGeolocationPermissionRequestManager::remove(const blink::WebGeolocationPermissionRequest& permissionRequest, int& id)
{
Geolocation* geolocation = permissionRequest.geolocation();
GeolocationIdMap::iterator it = m_private->m_geolocationIdMap.find(geolocation);
@@ -70,7 +70,7 @@ bool WebGeolocationPermissionRequestManager::remove(const WebKit::WebGeolocation
return true;
}
-bool WebGeolocationPermissionRequestManager::remove(int id, WebKit::WebGeolocationPermissionRequest& permissionRequest)
+bool WebGeolocationPermissionRequestManager::remove(int id, blink::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