chrome/browser/ui/bookmarks/bookmark_utils.cc
// Returns in |urls|, the url and title pairs for each open tab in browser.
Returns in |urls|, the url and title pairs for each open tab in browser.
Returns in |urls| the url and title pairs for each open tab in browser .
void GetURLsForOpenTabs(Browser* browser,
                        std::vector<std::pair<GURL, string16> >* urls) {
  for (int i = 0; i < browser->tab_count(); ++i) {
    std::pair<GURL, string16> entry;
    GetURLAndTitleToBookmark(GetWebContentsAt(browser, i),
                             &(entry.first), &(entry.second));
    urls->push_back(entry);
  }
}
void GetURLsForOpenTabs ( Browser * browser , std :: vector < std :: pair < GURL , string16 > > * urls ) { for ( int i = 0 ; i < browser -> tab_count ( ) ; ++ i ) { std :: pair < GURL , string16 > entry ; GetURLAndTitleToBookmark ( GetWebContentsAt ( browser , i ) , & ( entry . first ) , & ( entry . second ) ) ; urls -> push_back ( entry ) ; } }
Returns in |urls|, the url and title pairs for each open tab in browser.
Returns in |urls| the url and title pairs for each open tab in browser .