Chromium Code Reviews| Index: chrome/browser/ui/browser_tabstrip.h |
| diff --git a/chrome/browser/ui/browser_tabstrip.h b/chrome/browser/ui/browser_tabstrip.h |
| index 3eb2722756417614f45c187586d8bbb656feec48..8b771d0c4d542bbd566a36ef4fa22231ad0cab8a 100644 |
| --- a/chrome/browser/ui/browser_tabstrip.h |
| +++ b/chrome/browser/ui/browser_tabstrip.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_UI_BROWSER_TABSTRIP_H_ |
| #include "content/public/common/page_transition_types.h" |
| +#include "content/public/browser/navigation_controller.h" |
| #include "webkit/glue/window_open_disposition.h" |
| class Browser; |
| @@ -14,7 +15,6 @@ class Profile; |
| class TabContents; |
| namespace content { |
| -class SessionStorageNamespace; |
| class SiteInstance; |
| class WebContents; |
| } |
| @@ -66,14 +66,23 @@ void CloseWebContents(Browser* browser, content::WebContents* contents); |
| void CloseAllTabs(Browser* browser); |
| -// Centralized method for creating a TabContents, configuring and |
| +// Centralized methods for creating a TabContents, configuring and |
| // installing all its supporting objects and observers. |
| TabContents* TabContentsFactory( |
| Profile* profile, |
| content::SiteInstance* site_instance, |
| int routing_id, |
| + const content::WebContents* base_web_contents); |
| + |
| +// Same as TabContentsFactory, but allows specifying the initial |
| +// |session_storage_namespace_map|. This is for supporting session restore |
| +// where we reconstitute the session storage namespaces for a browsing context. |
| +TabContents* TabContentsFactoryWithSessionStorage( |
|
Charlie Reis
2012/08/02 23:06:47
Move Factory to the end of the name.
awong
2012/08/03 00:31:04
Done.
|
| + Profile* profile, |
| + content::SiteInstance* site_instance, |
| + int routing_id, |
| const content::WebContents* base_web_contents, |
| - content::SessionStorageNamespace* session_storage_namespace); |
| + const content::SessionStorageNamespaceMap& session_storage_namespace_map); |
| } // namespace chrome |