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

Unified Diff: Source/web/StorageNamespaceProxy.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/StorageNamespaceProxy.h ('k') | Source/web/StorageQuotaChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/StorageNamespaceProxy.cpp
diff --git a/Source/web/StorageNamespaceProxy.cpp b/Source/web/StorageNamespaceProxy.cpp
index 9f6ecdb577aff452c90d27dacdb5a969f63f5094..6940fdb6244003d039e66ba2662c7d9f7a7f939d 100644
--- a/Source/web/StorageNamespaceProxy.cpp
+++ b/Source/web/StorageNamespaceProxy.cpp
@@ -45,19 +45,19 @@ namespace WebCore {
PassOwnPtr<StorageArea> StorageNamespace::localStorageArea(SecurityOrigin* origin)
{
ASSERT(isMainThread());
- static WebKit::WebStorageNamespace* localStorageNamespace = 0;
+ static blink::WebStorageNamespace* localStorageNamespace = 0;
if (!localStorageNamespace)
- localStorageNamespace = WebKit::Platform::current()->createLocalStorageNamespace();
+ localStorageNamespace = blink::Platform::current()->createLocalStorageNamespace();
return adoptPtr(new StorageAreaProxy(adoptPtr(localStorageNamespace->createStorageArea(origin->toString())), LocalStorage));
}
PassOwnPtr<StorageNamespace> StorageNamespace::sessionStorageNamespace(Page* page)
{
- WebKit::WebViewClient* webViewClient = WebKit::WebViewImpl::fromPage(page)->client();
+ blink::WebViewClient* webViewClient = blink::WebViewImpl::fromPage(page)->client();
return adoptPtr(new StorageNamespaceProxy(adoptPtr(webViewClient->createSessionStorageNamespace())));
}
-StorageNamespaceProxy::StorageNamespaceProxy(PassOwnPtr<WebKit::WebStorageNamespace> storageNamespace)
+StorageNamespaceProxy::StorageNamespaceProxy(PassOwnPtr<blink::WebStorageNamespace> storageNamespace)
: m_storageNamespace(storageNamespace)
{
}
@@ -71,7 +71,7 @@ PassOwnPtr<StorageArea> StorageNamespaceProxy::storageArea(SecurityOrigin* origi
return adoptPtr(new StorageAreaProxy(adoptPtr(m_storageNamespace->createStorageArea(origin->toString())), SessionStorage));
}
-bool StorageNamespaceProxy::isSameNamespace(const WebKit::WebStorageNamespace& sessionNamespace)
+bool StorageNamespaceProxy::isSameNamespace(const blink::WebStorageNamespace& sessionNamespace)
{
return m_storageNamespace && m_storageNamespace->isSameNamespace(sessionNamespace);
}
« no previous file with comments | « Source/web/StorageNamespaceProxy.h ('k') | Source/web/StorageQuotaChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698