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

Unified Diff: Source/web/StorageClientImpl.cpp

Issue 462353003: Cleanup namespace usage in Source/web[A-V]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor updates 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/SpellCheckerClientImpl.cpp ('k') | Source/web/StorageQuotaClientImpl.cpp » ('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 62846ea7af77c6564fdf66df57022b7da31a1758..48be23448fa7abe40bb523f39f11b1244740162c 100644
--- a/Source/web/StorageClientImpl.cpp
+++ b/Source/web/StorageClientImpl.cpp
@@ -40,15 +40,15 @@ StorageClientImpl::StorageClientImpl(WebViewImpl* webView)
{
}
-PassOwnPtr<blink::StorageNamespace> StorageClientImpl::createSessionStorageNamespace()
+PassOwnPtr<StorageNamespace> StorageClientImpl::createSessionStorageNamespace()
{
- return adoptPtr(new blink::StorageNamespace(adoptPtr(m_webView->client()->createSessionStorageNamespace())));
+ return adoptPtr(new StorageNamespace(adoptPtr(m_webView->client()->createSessionStorageNamespace())));
}
-bool StorageClientImpl::canAccessStorage(blink::LocalFrame* frame, blink::StorageType type) const
+bool StorageClientImpl::canAccessStorage(LocalFrame* frame, StorageType type) const
{
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
- return !webFrame->permissionClient() || webFrame->permissionClient()->allowStorage(type == blink::LocalStorage);
+ return !webFrame->permissionClient() || webFrame->permissionClient()->allowStorage(type == LocalStorage);
}
} // namespace blink
« no previous file with comments | « Source/web/SpellCheckerClientImpl.cpp ('k') | Source/web/StorageQuotaClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698