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

Unified Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h

Issue 2199493002: libFuzzer for blink::MHTMLParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No need for BASE_EXPORT on InitializeICUForTesting (//base/test:test_support is a static_library, n… Created 4 years, 4 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
Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
index bc5b15b42161526deab638629d44185f93e9e156..cc4870802c9d5db206b8aae0541f80ff4618fd38 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
@@ -116,6 +116,17 @@ protected:
std::unique_ptr<TestingPlatformMockWebThread> m_mockWebThread;
};
+class ScopedUnittestsEnvironmentSetup {
+ WTF_MAKE_NONCOPYABLE(ScopedUnittestsEnvironmentSetup);
+public:
+ ScopedUnittestsEnvironmentSetup(int argc, char** argv);
+ ~ScopedUnittestsEnvironmentSetup();
+
+private:
+ class Impl;
+ std::unique_ptr<Impl> m_impl;
+};
+
} // namespace blink
#endif // TestingPlatformSupport_h

Powered by Google App Engine
This is Rietveld 408576698