Chromium Code Reviews| Index: chrome/browser/sessions/session_service.h | 
| diff --git a/chrome/browser/sessions/session_service.h b/chrome/browser/sessions/session_service.h | 
| index e6feffd1f400847d0218bdb2b953040c5842354c..b2b35581664678ab707fcacc496d59fbcba0a220 100644 | 
| --- a/chrome/browser/sessions/session_service.h | 
| +++ b/chrome/browser/sessions/session_service.h | 
| @@ -121,7 +121,13 @@ class SessionService : public BaseSessionService, | 
| // Sets the type of window. In order for the contents of a window to be | 
| // tracked SetWindowType must be invoked with a type we track | 
| // (should_track_changes_for_browser_type returns true). | 
| - void SetWindowType(const SessionID& window_id, Browser::Type type); | 
| + void SetWindowType(const SessionID& window_id, | 
| + Browser::Type type, | 
| 
 
sky
2012/02/24 20:56:04
Use an enum for the boolean (can also be used in s
 
DaveMoore
2012/02/25 16:54:42
Done.
 
 | 
| + bool is_app); | 
| + | 
| + // Sets the application name of the specified window. | 
| + void SetWindowAppName(const SessionID& window_id, | 
| + const std::string& app_name); | 
| // Invoked when the NavigationController has removed entries from the back of | 
| // the list. |count| gives the number of entries in the navigation controller. | 
| @@ -362,7 +368,9 @@ class SessionService : public BaseSessionService, | 
| bool ShouldTrackChangesToWindow(const SessionID& window_id); | 
| // Returns true if we track changes to the specified browser type. | 
| - static bool should_track_changes_for_browser_type(Browser::Type type); | 
| + static bool should_track_changes_for_browser_type( | 
| + Browser::Type type, | 
| + bool is_app); | 
| // Returns true if we should record a window close as pending. | 
| // |has_open_trackable_browsers_| must be up-to-date before calling this. |