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

Unified Diff: chrome/browser/ui/startup/startup_tab_provider.h

Issue 2709393006: Do not show pinned tabs on multiple instances (Closed)
Patch Set: pkasting nit Created 3 years, 10 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 | chrome/browser/ui/startup/startup_tab_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/startup_tab_provider.h
diff --git a/chrome/browser/ui/startup/startup_tab_provider.h b/chrome/browser/ui/startup/startup_tab_provider.h
index 181ba44b88e59579379e4de027e8401c0156804e..79bf5247a941e996d7b5e41f067807bf1cd6fa6c 100644
--- a/chrome/browser/ui/startup/startup_tab_provider.h
+++ b/chrome/browser/ui/startup/startup_tab_provider.h
@@ -93,8 +93,10 @@ class StartupTabProviderImpl : public StartupTabProvider {
// Determines whether the startup preference requires the contents of
// |pinned_tabs| to be shown. This is needed to avoid duplicates, as the
// session restore logic will also resurface pinned tabs on its own.
- static StartupTabs GetPinnedTabsForState(const SessionStartupPref& pref,
- const StartupTabs& pinned_tabs);
+ static StartupTabs GetPinnedTabsForState(
+ const SessionStartupPref& pref,
+ const StartupTabs& pinned_tabs,
+ bool profile_has_other_tabbed_browser);
// Determines whether preferences and window state indicate that
// user-specified tabs should be shown as the default new window content, and
« no previous file with comments | « no previous file | chrome/browser/ui/startup/startup_tab_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698