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

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

Issue 2791403005: Remove CWV class and move setting User Agent to CWVWebViewConfiguration. (Closed)
Patch Set: Rebase. Created 3 years, 8 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/web_view_web_main_parts.h
diff --git a/ios/web_view/internal/web_view_web_main_parts.h b/ios/web_view/internal/web_view_web_main_parts.h
index 94fe9e649aed327128dda83fe720271027d445d0..10f02796fb6fad5b8a0bfc709ff76e3faa4a94a8 100644
--- a/ios/web_view/internal/web_view_web_main_parts.h
+++ b/ios/web_view/internal/web_view_web_main_parts.h
@@ -12,7 +12,6 @@
@protocol CWVDelegate;
namespace ios_web_view {
-class WebViewBrowserState;
// WebView implementation of WebMainParts.
class WebViewWebMainParts : public web::WebMainParts {
@@ -22,21 +21,6 @@ class WebViewWebMainParts : public web::WebMainParts {
// WebMainParts implementation.
void PreMainMessageLoopRun() override;
-
- // Returns the WebViewBrowserState for this embedder.
- WebViewBrowserState* browser_state() const { return browser_state_.get(); }
-
- // Returns the off the record WebViewBrowserState for this embedder.
- WebViewBrowserState* off_the_record_browser_state() const {
- return off_the_record_browser_state_.get();
- }
-
- private:
- // The BrowserState for this embedder.
- std::unique_ptr<WebViewBrowserState> browser_state_;
-
- // Off The Record BrowserState for this embedder.
- std::unique_ptr<WebViewBrowserState> off_the_record_browser_state_;
};
} // namespace ios_web_view
« no previous file with comments | « ios/web_view/internal/web_view_web_main_delegate.mm ('k') | ios/web_view/internal/web_view_web_main_parts.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698