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

Unified Diff: third_party/WebKit/Source/web/tests/WebURLRequestTest.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 | « no previous file | third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp b/third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp
index 388d5a9dbb0a4ada19f77ebd3cc1856924f2068b..8e4ab333212caba04c85bd2d6ba43c0919869537 100644
--- a/third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp
@@ -34,6 +34,8 @@
namespace blink {
+namespace {
+
class TestExtraData : public WebURLRequest::ExtraData {
public:
explicit TestExtraData(bool* alive)
@@ -48,6 +50,8 @@ private:
bool* m_alive;
};
+} // anonymous namespace
+
TEST(WebURLRequestTest, ExtraData)
{
bool alive = false;
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/WebURLResponseTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698