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

Unified Diff: third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp

Issue 2119683002: Move TestExtraData classes to anonymous namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp b/third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp
index 81dcff686c5c185ac24b945c779277fd436a3f7e..4ffd6a8692802cd0b1610ee4a9733db718aaf3a5 100644
--- a/third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp
@@ -34,6 +34,8 @@
namespace blink {
+namespace {
+
class TestExtraData : public WebURLResponse::ExtraData {
public:
explicit TestExtraData(bool* alive)
@@ -48,6 +50,8 @@ private:
bool* m_alive;
};
+} // anonymous namespace
+
TEST(WebURLResponseTest, ExtraData)
{
bool alive = false;
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698