| Index: chrome/browser/tab_contents/web_contents_user_data.h
|
| diff --git a/chrome/browser/tab_contents/web_contents_user_data.h b/chrome/browser/tab_contents/web_contents_user_data.h
|
| index 77d57f2412dc98d05402a956e1f9541e3af06eda..8126c381be23324923725703da72f7acbf43a2a9 100644
|
| --- a/chrome/browser/tab_contents/web_contents_user_data.h
|
| +++ b/chrome/browser/tab_contents/web_contents_user_data.h
|
| @@ -14,10 +14,13 @@
|
| // --- in foo_tab_helper.h ---
|
| // class FooTabHelper : public WebContentsUserData<FooTabHelper> {
|
| // public:
|
| -// explicit FooTabHelper(content::WebContents* contents);
|
| // virtual ~FooTabHelper();
|
| +// // ... more public stuff here ...
|
| +// private:
|
| +// explicit FooTabHelper(content::WebContents* contents);
|
| // static int kUserDataKey;
|
| -// // ... more stuff here ...
|
| +// friend class WebContentsUserData<FooTabHelper>;
|
| +// // ... more private stuff here ...
|
| // }
|
| // --- in foo_tab_helper.cc ---
|
| // int FooTabHelper::kUserDataKey;
|
|
|