Index: chrome/browser/sessions/session_restore.cc |
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc |
index 2818f7fe7e64ab24f50f5bc6b64e54eef9ba59d7..49b446873dcf51153daf3469ba46dd8e84370b6c 100644 |
--- a/chrome/browser/sessions/session_restore.cc |
+++ b/chrome/browser/sessions/session_restore.cc |
@@ -277,10 +277,6 @@ |
Profile* profile() { return profile_; } |
- void AddURLsToOpen(const std::vector<GURL>& urls) { |
- urls_to_open_.insert(urls_to_open_.end(), urls.begin(), urls.end()); |
- } |
- |
private: |
// Invoked when done with creating all the tabs/browsers. |
// |
@@ -853,17 +849,5 @@ |
} |
// static |
-void SessionRestore::AddURLsToOpen(const Profile* profile, |
- const std::vector<GURL>& urls) { |
- for (auto* session_restorer : *active_session_restorers) { |
- if (session_restorer->profile() == profile) { |
- session_restorer->AddURLsToOpen(urls); |
- return; |
- } |
- } |
- NOTREACHED() << "Failed to add urls to open for session restore"; |
-} |
- |
-// static |
base::CallbackList<void(int)>* |
SessionRestore::on_session_restored_callbacks_ = nullptr; |