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

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 12315094: Remove kDefaultHostDesktopType from browser_finder.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix StartupBrowserCreatorTest.ProfilesWithoutPagesNotLaunched Created 7 years, 10 months 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
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/chrome_main_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index b1af9f2ca8a73834526cfa14a16dd17b459b8cff..856ceb6cb6044f3af1ff493c639aa5284307e237 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -613,7 +613,8 @@ void TestingAutomationProvider::GetBrowserWindowCount(int* window_count) {
}
void TestingAutomationProvider::GetNormalBrowserWindowCount(int* window_count) {
- *window_count = static_cast<int>(chrome::GetTabbedBrowserCount(profile_));
+ *window_count = static_cast<int>(chrome::GetTabbedBrowserCount(
+ profile_, chrome::HOST_DESKTOP_TYPE_NATIVE));
}
void TestingAutomationProvider::GetBrowserWindow(int index, int* handle) {
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/chrome_main_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698