Index: chrome/browser/ui/browser_init.h |
diff --git a/chrome/browser/ui/browser_init.h b/chrome/browser/ui/browser_init.h |
index 6675ec117d265cfdd8c57d10c0edf8ca1541b4fd..5f45613340f569a16ec348696bdc6466d0eabf1a 100644 |
--- a/chrome/browser/ui/browser_init.h |
+++ b/chrome/browser/ui/browser_init.h |
@@ -241,6 +241,16 @@ class BrowserInit { |
// Returns true if so. |
bool CheckIfAutoLaunched(Profile* profile); |
+ // Shows a sync promo dialog if necessary. When called |browser| should be |
+ // the browser that's being used for startup. On return |browser| is set |
+ // to the browser spawned from the sync promo dialog (if any). On input |
+ // |tabs| should be the set of tabs to show on startup. On return |tabs| |
+ // will contain the new set of tabs to show on startup. Returns the index |
+ // of the tab to activate. |
+ size_t ShowSyncPromoDialog(Browser** browser, |
+ bool process_startup, |
sky
2012/01/30 23:08:14
out params should be last, so make process_startup
sail
2012/01/30 23:45:53
Done.
|
+ std::vector<Tab>* tabs); |
+ |
const FilePath cur_dir_; |
const CommandLine& command_line_; |
Profile* profile_; |