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

Unified Diff: ios/web/shell/shell_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/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..0043909b7f2471cd8cf287453c60dc9fcf4c1742 100644
--- a/ios/web/shell/shell_web_client.h
+++ b/ios/web/shell/shell_web_client.h
@@ -23,7 +23,7 @@ class ShellWebClient : public WebClient {
// WebClient implementation.
WebMainParts* CreateWebMainParts() override;
std::string GetProduct() const override;
- std::string GetUserAgent(bool desktop_user_agent) const override;
+ std::string GetUserAgent(UserAgentType type) const override;
void AllowCertificateError(
WebState* web_state,
int cert_error,

Powered by Google App Engine
This is Rietveld 408576698