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

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

Issue 1996723002: Switch ResourceBundle LoadDataResourceBytes to return RefCountedMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to address newly added use Created 4 years, 7 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 | « headless/lib/headless_content_client.cc ('k') | ios/web/public/test/test_web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 662e7398f7e4a96e4edba43ca42ae72366c4b98b..60d2a23fa1b9fc05765fbdb13ccbc06042ae4b10 100644
--- a/ios/web/public/test/test_web_client.h
+++ b/ios/web/public/test/test_web_client.h
@@ -25,7 +25,7 @@ class TestWebClient : public web::WebClient {
void AddAdditionalSchemes(std::vector<url::SchemeWithType>*) const override;
// Returns true for kTestWebUIScheme URL scheme.
bool IsAppSpecificURL(const GURL& url) const override;
- base::RefCountedStaticMemory* GetDataResourceBytes(int id) const override;
+ base::RefCountedMemory* GetDataResourceBytes(int id) const override;
NSString* GetEarlyPageScript() const override;
void AllowCertificateError(WebState*,
int cert_error,
« no previous file with comments | « headless/lib/headless_content_client.cc ('k') | ios/web/public/test/test_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698