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

Unified Diff: ios/web_view/internal/web_view_web_client.h

Issue 2705293014: Created web::UserAgentType. (Closed)
Patch Set: rebase + compile fix Created 3 years, 10 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_view/internal/web_view_web_client.h
diff --git a/ios/web_view/internal/web_view_web_client.h b/ios/web_view/internal/web_view_web_client.h
index f8d22f3ce5171632aa886b392cd9056e8f08fa3b..e4e303c7ee5fd80f7df2c8063669609f57d248bd 100644
--- a/ios/web_view/internal/web_view_web_client.h
+++ b/ios/web_view/internal/web_view_web_client.h
@@ -24,7 +24,7 @@ class WebViewWebClient : public web::WebClient {
// WebClient implementation.
web::WebMainParts* CreateWebMainParts() override;
std::string GetProduct() const override;
- std::string GetUserAgent(bool desktop_user_agent) const override;
+ std::string GetUserAgent(web::UserAgentType type) const override;
// Normal browser state associated with the receiver.
WebViewBrowserState* browser_state() const;
« no previous file with comments | « ios/web_view/internal/web_view_url_request_context_getter.mm ('k') | ios/web_view/internal/web_view_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698