| Index: ios/web_view/internal/cwv_web_view_configuration.mm
|
| diff --git a/ios/web_view/internal/cwv_web_view_configuration.mm b/ios/web_view/internal/cwv_web_view_configuration.mm
|
| index d123fbf31269fb56a676e6837bc5750f6fc7caf5..5e4127399798fa947619cc6c2bfee7b656d4161f 100644
|
| --- a/ios/web_view/internal/cwv_web_view_configuration.mm
|
| +++ b/ios/web_view/internal/cwv_web_view_configuration.mm
|
| @@ -7,7 +7,6 @@
|
|
|
| #include "base/memory/ptr_util.h"
|
| #include "base/threading/thread_restrictions.h"
|
| -#include "components/translate/core/browser/translate_download_manager.h"
|
| #include "ios/web_view/internal/app/application_context.h"
|
| #import "ios/web_view/internal/cwv_user_content_controller_internal.h"
|
| #include "ios/web_view/internal/web_view_browser_state.h"
|
| @@ -62,10 +61,14 @@
|
| return self;
|
| }
|
|
|
| +#pragma mark - Public Methods
|
| +
|
| - (BOOL)isPersistent {
|
| return !_browserState->IsOffTheRecord();
|
| }
|
|
|
| +#pragma mark - Private Methods
|
| +
|
| - (ios_web_view::WebViewBrowserState*)browserState {
|
| return _browserState.get();
|
| }
|
|
|