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

Unified Diff: ios/chrome/browser/web/chrome_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 | « no previous file | ios/chrome/browser/web/chrome_web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/chrome_web_client.h
diff --git a/ios/chrome/browser/web/chrome_web_client.h b/ios/chrome/browser/web/chrome_web_client.h
index 928faf6e1485d5f6d4d9a62df011f7f2ae4647c0..febcff49cf23eba5bf9c4d5d1a406e8a10894611 100644
--- a/ios/chrome/browser/web/chrome_web_client.h
+++ b/ios/chrome/browser/web/chrome_web_client.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_
#define IOS_CHROME_BROWSER_WEB_CHROME_WEB_CLIENT_H_
+#include <memory>
+
#include "base/macros.h"
#include "ios/web/public/web_client.h"
@@ -15,7 +17,7 @@ class ChromeWebClient : public web::WebClient {
~ChromeWebClient() override;
// WebClient implementation.
- web::WebMainParts* CreateWebMainParts() override;
+ std::unique_ptr<web::WebMainParts> CreateWebMainParts() override;
void PreWebViewCreation() const override;
void AddAdditionalSchemes(std::vector<url::SchemeWithType>*
additional_standard_schemes) const override;
« no previous file with comments | « no previous file | ios/chrome/browser/web/chrome_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698