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

Unified Diff: ios/web/public/test/test_web_client.h

Issue 1929783002: [ios Mojo] Supporting code for define WebUI function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_require_js
Patch Set: Addressed review comments Created 4 years, 8 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: ios/web/public/test/test_web_client.h
diff --git a/ios/web/public/test/test_web_client.h b/ios/web/public/test/test_web_client.h
index 320df56f99c9468017bc14d70e3587aaf82d7215..68080dcf887376983f7035fec3a521c932ff18aa 100644
--- a/ios/web/public/test/test_web_client.h
+++ b/ios/web/public/test/test_web_client.h
@@ -22,6 +22,9 @@ class TestWebClient : public web::WebClient {
~TestWebClient() override;
// WebClient implementation.
+ void AddAdditionalSchemes(std::vector<url::SchemeWithType>*) const override;
+ // Returns true for kTestWebUIScheme URL scheme.
+ bool IsAppSpecificURL(const GURL& url) const override;
NSString* GetEarlyPageScript() const override;
void AllowCertificateError(WebState*,
int cert_error,

Powered by Google App Engine
This is Rietveld 408576698