Chromium Code Reviews| 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_; |