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

Unified Diff: ios/web_view/internal/criwv_browser_state.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_browser_state.h
diff --git a/ios/web_view/internal/criwv_browser_state.h b/ios/web_view/internal/criwv_browser_state.h
index 636a200e9726bdcfeb8a2ee4a9e2f53f985457ca..973de7b6fd702fb645cad8c0be50326051d7d724 100644
--- a/ios/web_view/internal/criwv_browser_state.h
+++ b/ios/web_view/internal/criwv_browser_state.h
@@ -24,7 +24,7 @@ class CRIWVURLRequestContextGetter;
// CRIWV implementation of BrowserState. Can only be called from the UI thread.
class CRIWVBrowserState : public web::BrowserState {
public:
- CRIWVBrowserState();
+ CRIWVBrowserState(bool off_the_record);
Eugene But (OOO till 7-30) 2017/02/06 23:31:56 explicit
michaeldo 2017/02/06 23:53:49 Done.
~CRIWVBrowserState() override;
// web::BrowserState implementation.
@@ -45,6 +45,9 @@ class CRIWVBrowserState : public web::BrowserState {
// The path associated with this BrowserState object.
base::FilePath path_;
+ // Whether this BrowserState is incognito.
+ bool off_the_record_;
+
// The request context getter for this BrowserState object.
scoped_refptr<CRIWVURLRequestContextGetter> request_context_getter_;

Powered by Google App Engine
This is Rietveld 408576698