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

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

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: Rebase. Respond to comments. Fix duplicate unique_ptr. 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
« no previous file with comments | « ios/web_view/internal/criwv_browser_state.mm ('k') | ios/web_view/internal/criwv_web_client.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9c325ce0200a323005b2b4f234ddfab7ea27297d..536440503acbc5ea1b066676c82b1463e9021e07 100644
--- a/ios/web_view/internal/criwv_web_client.h
+++ b/ios/web_view/internal/criwv_web_client.h
@@ -27,9 +27,10 @@ class CRIWVWebClient : public web::WebClient {
std::string GetProduct() const override;
std::string GetUserAgent(bool desktop_user_agent) const override;
- // TODO(crbug.com/679895): Find a better way to get a BrowserState object to
- // AppDelegate.
+ // Normal browser state associated with the receiver.
CRIWVBrowserState* browser_state() const;
+ // Off the record browser state associated with the receiver.
+ CRIWVBrowserState* off_the_record_browser_state() const;
private:
// This object's delegate.
« no previous file with comments | « ios/web_view/internal/criwv_browser_state.mm ('k') | ios/web_view/internal/criwv_web_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698