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

Unified Diff: Source/web/StorageClientImpl.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/StorageClientImpl.h ('k') | Source/web/StorageQuotaClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/StorageClientImpl.cpp
diff --git a/Source/web/StorageClientImpl.cpp b/Source/web/StorageClientImpl.cpp
index 28ccfcebda50b2023c36cf82bf8b960767c99563..62846ea7af77c6564fdf66df57022b7da31a1758 100644
--- a/Source/web/StorageClientImpl.cpp
+++ b/Source/web/StorageClientImpl.cpp
@@ -40,15 +40,15 @@ StorageClientImpl::StorageClientImpl(WebViewImpl* webView)
{
}
-PassOwnPtr<WebCore::StorageNamespace> StorageClientImpl::createSessionStorageNamespace()
+PassOwnPtr<blink::StorageNamespace> StorageClientImpl::createSessionStorageNamespace()
{
- return adoptPtr(new WebCore::StorageNamespace(adoptPtr(m_webView->client()->createSessionStorageNamespace())));
+ return adoptPtr(new blink::StorageNamespace(adoptPtr(m_webView->client()->createSessionStorageNamespace())));
}
-bool StorageClientImpl::canAccessStorage(WebCore::LocalFrame* frame, WebCore::StorageType type) const
+bool StorageClientImpl::canAccessStorage(blink::LocalFrame* frame, blink::StorageType type) const
{
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
- return !webFrame->permissionClient() || webFrame->permissionClient()->allowStorage(type == WebCore::LocalStorage);
+ return !webFrame->permissionClient() || webFrame->permissionClient()->allowStorage(type == blink::LocalStorage);
}
} // namespace blink
« no previous file with comments | « Source/web/StorageClientImpl.h ('k') | Source/web/StorageQuotaClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698