| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser_list.h" | 5 #include "chrome/browser/browser_list.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/browser_shutdown.h" | 12 #include "chrome/browser/browser_shutdown.h" |
| 13 #include "chrome/browser/browser_window.h" | 13 #include "chrome/browser/browser_window.h" |
| 14 #include "chrome/browser/profiles/profile_manager.h" | 14 #include "chrome/browser/profiles/profile_manager.h" |
| 15 #include "chrome/common/result_codes.h" | |
| 16 #include "content/browser/renderer_host/render_process_host.h" | 15 #include "content/browser/renderer_host/render_process_host.h" |
| 17 #include "content/browser/tab_contents/navigation_controller.h" | 16 #include "content/browser/tab_contents/navigation_controller.h" |
| 18 #include "content/common/notification_registrar.h" | 17 #include "content/common/notification_registrar.h" |
| 19 #include "content/common/notification_service.h" | 18 #include "content/common/notification_service.h" |
| 19 #include "content/common/result_codes.h" |
| 20 | 20 |
| 21 #if defined(OS_MACOSX) | 21 #if defined(OS_MACOSX) |
| 22 #include "chrome/browser/chrome_browser_application_mac.h" | 22 #include "chrome/browser/chrome_browser_application_mac.h" |
| 23 #endif | 23 #endif |
| 24 | 24 |
| 25 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
| 26 #include "chrome/browser/chromeos/boot_times_loader.h" | 26 #include "chrome/browser/chromeos/boot_times_loader.h" |
| 27 #include "chrome/browser/chromeos/cros/cros_library.h" | 27 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 28 #include "chrome/browser/chromeos/cros/login_library.h" | 28 #include "chrome/browser/chromeos/cros/login_library.h" |
| 29 #include "chrome/browser/chromeos/cros/update_library.h" | 29 #include "chrome/browser/chromeos/cros/update_library.h" |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 } | 633 } |
| 634 | 634 |
| 635 TabContents* next_tab = | 635 TabContents* next_tab = |
| 636 (*browser_iterator_)->GetTabContentsAt(web_view_index_); | 636 (*browser_iterator_)->GetTabContentsAt(web_view_index_); |
| 637 if (next_tab) { | 637 if (next_tab) { |
| 638 cur_ = next_tab; | 638 cur_ = next_tab; |
| 639 return; | 639 return; |
| 640 } | 640 } |
| 641 } | 641 } |
| 642 } | 642 } |
| OLD | NEW |