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

Unified Diff: content/public/browser/navigation_controller.h

Issue 2046713002: Removing unused SetBrowserContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index e3673d123090619ef6eda93f030394ff8831a83c..a2f4714d985dbacb5bbbd0d6a7d7f13f0cba3bb0 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -224,23 +224,22 @@ class NavigationController {
// Disables checking for a repost and prompting the user. This is used during
// testing.
CONTENT_EXPORT static void DisablePromptOnRepost();
virtual ~NavigationController() {}
// Returns the web contents associated with this controller. It can never be
// nullptr.
virtual WebContents* GetWebContents() const = 0;
- // Get/set the browser context for this controller. It can never be nullptr.
+ // Get the browser context for this controller. It can never be nullptr.
virtual BrowserContext* GetBrowserContext() const = 0;
- virtual void SetBrowserContext(BrowserContext* browser_context) = 0;
// Initializes this NavigationController with the given saved navigations,
// using |selected_navigation| as the currently loaded entry. Before this call
// the controller should be unused (there should be no current entry). |type|
// indicates where the restor comes from. This takes ownership of the
// NavigationEntrys in |entries| and clears it out. This is used for session
// restore.
virtual void Restore(
int selected_navigation,
RestoreType type,

Powered by Google App Engine
This is Rietveld 408576698