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

Unified Diff: ios/web/shell/shell_web_client.h

Issue 2647943004: Return unique_ptr from WebClient::CreateWebMainParts() (Closed)
Patch Set: Respond to comments. Created 3 years, 11 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 | « ios/web/public/web_client.mm ('k') | ios/web/shell/shell_web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/shell_web_client.h
diff --git a/ios/web/shell/shell_web_client.h b/ios/web/shell/shell_web_client.h
index 4ab58d8c19eda24e63c26a79d7c9b3da36eed065..3c5743c2e6a539b41236d48cfeae480ca5b41555 100644
--- a/ios/web/shell/shell_web_client.h
+++ b/ios/web/shell/shell_web_client.h
@@ -21,7 +21,7 @@ class ShellWebClient : public WebClient {
~ShellWebClient() override;
// WebClient implementation.
- WebMainParts* CreateWebMainParts() override;
+ std::unique_ptr<web::WebMainParts> CreateWebMainParts() override;
std::string GetProduct() const override;
std::string GetUserAgent(bool desktop_user_agent) const override;
void AllowCertificateError(
@@ -35,7 +35,7 @@ class ShellWebClient : public WebClient {
ShellBrowserState* browser_state() const;
private:
- std::unique_ptr<ShellWebMainParts> web_main_parts_;
+ ShellWebMainParts* web_main_parts_;
DISALLOW_COPY_AND_ASSIGN(ShellWebClient);
};
« no previous file with comments | « ios/web/public/web_client.mm ('k') | ios/web/shell/shell_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698