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

Unified Diff: ios/clean/chrome/browser/browser_coordinator.h

Issue 2735973003: Make BrowserCoordinator use a Browser instead of a BrowserState (Closed)
Patch Set: Remove unused import Created 3 years, 9 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
« no previous file with comments | « ios/clean/chrome/browser/BUILD.gn ('k') | ios/clean/chrome/browser/browser_coordinator.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/browser_coordinator.h
diff --git a/ios/clean/chrome/browser/browser_coordinator.h b/ios/clean/chrome/browser/browser_coordinator.h
index 550c4dbdb4bafac3cf8c6f0e26d67e05a8820848..6b0654307f7d1262944b5c8d76179dbb32051637 100644
--- a/ios/clean/chrome/browser/browser_coordinator.h
+++ b/ios/clean/chrome/browser/browser_coordinator.h
@@ -11,10 +11,8 @@
#import <UIKit/UIKit.h>
+class Browser;
@class CoordinatorContext;
-namespace ios {
-class ChromeBrowserState;
-}
// An object that manages a UI component via a view controller.
// This is the public interface to this class; subclasses should also import
@@ -26,10 +24,10 @@ class ChromeBrowserState;
// The context object for this coordinator.
@property(nonatomic, strong, readonly) CoordinatorContext* context;
-// The browser state used by this coordinator and passed into any child
+// The browser object used by this coordinator and passed into any child
// coordinators added to it. This is a weak pointer, and setting this property
-// doesn't transfer ownership of the browser state.
-@property(nonatomic, assign) ios::ChromeBrowserState* browserState;
+// doesn't transfer ownership of the browser.
+@property(nonatomic, assign) Browser* browser;
// The basic lifecycle methods for coordinators are -start and -stop. These
// are blank template methods; child classes are expected to implement them and
« no previous file with comments | « ios/clean/chrome/browser/BUILD.gn ('k') | ios/clean/chrome/browser/browser_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698