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

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

Issue 2444873002: Move WebMIMERegistry impl from //content to blink:platform/network/mime (Closed)
Patch Set: remove indirection Created 4 years, 2 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 8ddb6c6ba06909d82161a053f5614e82b9c5b902..6c581dfefa105615bdd57d42efe36d2d63cec7c5 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
@@ -136,16 +136,18 @@ class TestingPlatformSupport : public Platform {
WebClipboard* clipboard() override;
WebFileUtilities* fileUtilities() override;
WebIDBFactory* idbFactory() override;
- WebMimeRegistry* mimeRegistry() override;
WebURLLoaderMockFactory* getURLLoaderMockFactory() override;
blink::WebURLLoader* createURLLoader() override;
-
WebData loadResource(const char* name) override;
WebURLError cancelledError(const WebURL&) const override;
+ InterfaceProvider* interfaceProvider() override;
protected:
+ class TestingInterfaceProvider;
+
const Config m_config;
Platform* const m_oldPlatform;
+ std::unique_ptr<TestingInterfaceProvider> m_interfaceProvider;
};
class TestingPlatformSupportWithMockScheduler : public TestingPlatformSupport {

Powered by Google App Engine
This is Rietveld 408576698