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

Side by Side Diff: Source/web/tests/PageSerializerTest.cpp

Issue 499543002: Removing duplicate 'using namespace blink;' in platform and web (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 unified diff | Download patch
« no previous file with comments | « Source/web/tests/LinkHighlightTest.cpp ('k') | Source/web/tests/PaintAggregatorTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "public/platform/WebURLResponse.h" 42 #include "public/platform/WebURLResponse.h"
43 #include "public/platform/WebUnitTestSupport.h" 43 #include "public/platform/WebUnitTestSupport.h"
44 #include "public/web/WebSettings.h" 44 #include "public/web/WebSettings.h"
45 #include "web/WebLocalFrameImpl.h" 45 #include "web/WebLocalFrameImpl.h"
46 #include "web/WebViewImpl.h" 46 #include "web/WebViewImpl.h"
47 #include "web/tests/FrameTestHelpers.h" 47 #include "web/tests/FrameTestHelpers.h"
48 #include "wtf/Vector.h" 48 #include "wtf/Vector.h"
49 #include <gtest/gtest.h> 49 #include <gtest/gtest.h>
50 50
51 using namespace blink; 51 using namespace blink;
52 using namespace blink;
53 using blink::URLTestHelpers::toKURL; 52 using blink::URLTestHelpers::toKURL;
54 using blink::URLTestHelpers::registerMockedURLLoad; 53 using blink::URLTestHelpers::registerMockedURLLoad;
55 54
56 namespace { 55 namespace {
57 56
58 class PageSerializerTest : public testing::Test { 57 class PageSerializerTest : public testing::Test {
59 public: 58 public:
60 PageSerializerTest() 59 PageSerializerTest()
61 : m_folder(WebString::fromUTF8("pageserializer/")) 60 : m_folder(WebString::fromUTF8("pageserializer/"))
62 , m_baseUrl(toKURL("http://www.test.com")) 61 , m_baseUrl(toKURL("http://www.test.com"))
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 199
201 registerURL("font.html", "text/html"); 200 registerURL("font.html", "text/html");
202 registerURL("font.ttf", "application/octet-stream"); 201 registerURL("font.ttf", "application/octet-stream");
203 202
204 serialize("font.html"); 203 serialize("font.html");
205 204
206 EXPECT_TRUE(isSerialized("font.ttf", "application/octet-stream")); 205 EXPECT_TRUE(isSerialized("font.ttf", "application/octet-stream"));
207 } 206 }
208 207
209 } 208 }
OLDNEW
« no previous file with comments | « Source/web/tests/LinkHighlightTest.cpp ('k') | Source/web/tests/PaintAggregatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698