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

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

Issue 2705293014: Created web::UserAgentType. (Closed)
Patch Set: self review 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/criwv_web_client.h
diff --git a/ios/web_view/internal/criwv_web_client.h b/ios/web_view/internal/criwv_web_client.h
index a6960a9473ddbb23696c438a561d57855805b11c..fe94ce1e079d4bb19a4fdf11e8a155e33970297c 100644
--- a/ios/web_view/internal/criwv_web_client.h
+++ b/ios/web_view/internal/criwv_web_client.h
@@ -25,7 +25,7 @@ class CRIWVWebClient : 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.
CRIWVBrowserState* browser_state() const;

Powered by Google App Engine
This is Rietveld 408576698