| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/browser_finder.h" | 5 #include "chrome/browser/ui/browser_finder.h" |
| 6 | 6 |
| 7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "chrome/browser/ui/browser_list.h" | 8 #include "chrome/browser/ui/browser_list.h" |
| 9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
| 10 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
| 10 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" | 11 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" |
| 11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | |
| 12 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 12 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 13 #include "content/public/browser/navigation_controller.h" | 13 #include "content/public/browser/navigation_controller.h" |
| 14 | 14 |
| 15 using content::WebContents; | 15 using content::WebContents; |
| 16 | 16 |
| 17 namespace browser { | 17 namespace browser { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 // Type used to indicate to match anything. | 21 // Type used to indicate to match anything. |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 size_t GetBrowserCount(Profile* profile) { | 191 size_t GetBrowserCount(Profile* profile) { |
| 192 return GetBrowserCountImpl(profile, kMatchAny); | 192 return GetBrowserCountImpl(profile, kMatchAny); |
| 193 } | 193 } |
| 194 | 194 |
| 195 size_t GetTabbedBrowserCount(Profile* profile) { | 195 size_t GetTabbedBrowserCount(Profile* profile) { |
| 196 return GetBrowserCountImpl(profile, kMatchTabbed); | 196 return GetBrowserCountImpl(profile, kMatchTabbed); |
| 197 } | 197 } |
| 198 | 198 |
| 199 } // namespace browser | 199 } // namespace browser |
| OLD | NEW |