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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model_utils.cc

Issue 2567043002: Cleanup: Remove unused SearchTabHelper::GetOpenUrls (Closed)
Patch Set: msw nits Created 4 years 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
Index: chrome/browser/ui/tabs/tab_strip_model_utils.cc
diff --git a/chrome/browser/ui/tabs/tab_strip_model_utils.cc b/chrome/browser/ui/tabs/tab_strip_model_utils.cc
deleted file mode 100644
index f599d9642710d3378e3cf23fd1b892b2c221f6bf..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/tabs/tab_strip_model_utils.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/tabs/tab_strip_model_utils.h"
-
-#include "chrome/browser/ui/tabs/tab_strip_model.h"
-#include "components/history/core/browser/top_sites.h"
-#include "content/public/browser/web_contents.h"
-
-namespace chrome {
-
-void GetOpenUrls(const TabStripModel& tabs,
- const history::TopSites& top_sites,
- std::set<std::string>* urls) {
- for (int i = 0; i < tabs.count(); ++i) {
- content::WebContents* web_contents = tabs.GetWebContentsAt(i);
- if (web_contents)
- urls->insert(top_sites.GetCanonicalURLString(web_contents->GetURL()));
- }
-}
-
-} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698