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

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

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: 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 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;
Eugene But (OOO till 7-30) 2017/02/06 23:31:56 This should be owned by WebsiteDataStore. It's ok
michaeldo 2017/02/06 23:53:49 Acknowledged.
+ // Off the record browser state associated with the receiver.
+ CRIWVBrowserState* off_the_record_browser_state() const;
private:
// This object's delegate.

Powered by Google App Engine
This is Rietveld 408576698