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

Unified Diff: Source/web/WebPageSerializer.cpp

Issue 545123002: Cleanup namespace usage in Source/web/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/WebNode.cpp ('k') | Source/web/WebPluginScrollbarImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPageSerializer.cpp
diff --git a/Source/web/WebPageSerializer.cpp b/Source/web/WebPageSerializer.cpp
index a3e6b00e2d4a9b2134d6267f35941d64c0654fb6..1c8e1e19bfdd6054d4ccbfda9bb7f56a71cc11b2 100644
--- a/Source/web/WebPageSerializer.cpp
+++ b/Source/web/WebPageSerializer.cpp
@@ -59,7 +59,7 @@
#include "wtf/Vector.h"
#include "wtf/text/StringConcatenate.h"
-using namespace blink;
+namespace blink {
namespace {
@@ -109,11 +109,11 @@ void retrieveResourcesForElement(Element* element,
}
void retrieveResourcesForFrame(LocalFrame* frame,
- const blink::WebVector<blink::WebCString>& supportedSchemes,
- Vector<LocalFrame*>* visitedFrames,
- Vector<LocalFrame*>* framesToVisit,
- Vector<KURL>* frameURLs,
- Vector<KURL>* resourceURLs)
+ const WebVector<WebCString>& supportedSchemes,
+ Vector<LocalFrame*>* visitedFrames,
+ Vector<LocalFrame*>* framesToVisit,
+ Vector<KURL>* frameURLs,
+ Vector<KURL>* resourceURLs)
{
KURL frameURL = frame->loader().documentLoader()->request().url();
@@ -151,8 +151,6 @@ void retrieveResourcesForFrame(LocalFrame* frame,
} // namespace
-namespace blink {
-
void WebPageSerializer::serialize(WebView* view, WebVector<WebPageSerializer::Resource>* resourcesParam)
{
Vector<SerializedResource> resources;
« no previous file with comments | « Source/web/WebNode.cpp ('k') | Source/web/WebPluginScrollbarImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698