Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / tabs / tab_strip_model_utils.h
bloba21ea4d8260712302f336b76da5e0cb62f107f35
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_UTILS_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_UTILS_H_
8 #include <set>
9 #include <string>
11 class TabStripModel;
13 namespace history {
14 class TopSites;
17 namespace chrome {
19 // Creates a set containing the canonical URLs of the currently open tabs.
20 void GetOpenUrls(const TabStripModel& tabs,
21 const history::TopSites& top_sites,
22 std::set<std::string>* urls);
24 } // namespace chrome
26 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_UTILS_H_