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

Unified Diff: Source/web/tests/MHTMLTest.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/tests/KeyboardTest.cpp ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/MHTMLTest.cpp
diff --git a/Source/web/tests/MHTMLTest.cpp b/Source/web/tests/MHTMLTest.cpp
index 445edb8c7ec4dac35db09ade56603006589ef782..81b72a1fb56a77191678dc687fdded84117bbd5d 100644
--- a/Source/web/tests/MHTMLTest.cpp
+++ b/Source/web/tests/MHTMLTest.cpp
@@ -46,18 +46,13 @@
#include "public/web/WebFrame.h"
#include "public/web/WebView.h"
#include "web/tests/FrameTestHelpers.h"
-
#include <gtest/gtest.h>
-using namespace blink;
-using blink::Document;
-using blink::LocalFrame;
-using blink::Page;
-using blink::KURL;
-using blink::URLTestHelpers::toKURL;
-
namespace {
+using blink::URLTestHelpers::toKURL;
+using namespace blink;
+
class MHTMLTest : public testing::Test {
public:
MHTMLTest()
@@ -109,7 +104,7 @@ TEST_F(MHTMLTest, CheckDomain)
EXPECT_STREQ(kFileURL, frame->domWindow()->location().href().ascii().data());
- blink::SecurityOrigin* origin = document->securityOrigin();
+ SecurityOrigin* origin = document->securityOrigin();
EXPECT_STRNE("localhost", origin->domain().ascii().data());
}
« no previous file with comments | « Source/web/tests/KeyboardTest.cpp ('k') | Source/web/tests/PinchViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698