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

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

Issue 10448014: Fix utterly wrong comment that hasn't been true for years. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_controller.h
diff --git a/content/public/browser/navigation_controller.h b/content/public/browser/navigation_controller.h
index 4829349e8930ebc4eb0eb4a4fe488833dcb57011..bfb9281dfabe218e8ea31d7d52fc1b10f8023f8f 100644
--- a/content/public/browser/navigation_controller.h
+++ b/content/public/browser/navigation_controller.h
@@ -27,8 +27,8 @@ struct Referrer;
// A NavigationController maintains the back-forward list for a single tab and
// manages all navigation within that list.
//
-// The NavigationController also owns all WebContents for the tab. This is to
-// make sure that we have at most one WebContents instance per type.
+// Each NavigationController belongs to one WebContents; each WebContents has
+// exactly one NavigationController.
class NavigationController {
public:
enum ReloadType {
@@ -55,7 +55,7 @@ class NavigationController {
virtual ~NavigationController() {}
// Returns the web contents associated with this controller. Non-NULL except
- // during set-up of the tab.
+ // during set-up.
jochen (gone - plz use gerrit) 2012/05/24 21:38:55 is this true? I thought this is just implemented a
virtual WebContents* GetWebContents() const = 0;
// Get/set the browser context for this controller. It can never be NULL.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698