| 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 "base/process_util.h" | |
| 6 #include "chrome/browser/browser_process.h" | 5 #include "chrome/browser/browser_process.h" |
| 7 #include "chrome/browser/extensions/extension_browsertest.h" | 6 #include "chrome/browser/extensions/extension_browsertest.h" |
| 8 #include "chrome/browser/extensions/extension_host.h" | 7 #include "chrome/browser/extensions/extension_host.h" |
| 9 #include "chrome/browser/extensions/extension_process_manager.h" | 8 #include "chrome/browser/extensions/extension_process_manager.h" |
| 10 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
| 11 #include "chrome/browser/extensions/extension_system.h" | 10 #include "chrome/browser/extensions/extension_system.h" |
| 12 #include "chrome/browser/notifications/balloon.h" | 11 #include "chrome/browser/notifications/balloon.h" |
| 13 #include "chrome/browser/notifications/balloon_collection.h" | 12 #include "chrome/browser/notifications/balloon_collection.h" |
| 14 #include "chrome/browser/notifications/balloon_host.h" | 13 #include "chrome/browser/notifications/balloon_host.h" |
| 15 #include "chrome/browser/notifications/balloon_notification_ui_manager.h" | 14 #include "chrome/browser/notifications/balloon_notification_ui_manager.h" |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 GetController())); | 581 GetController())); |
| 583 chrome::Reload(browser(), CURRENT_TAB); | 582 chrome::Reload(browser(), CURRENT_TAB); |
| 584 observer.Wait(); | 583 observer.Wait(); |
| 585 } | 584 } |
| 586 // Extension should now be loaded. | 585 // Extension should now be loaded. |
| 587 SCOPED_TRACE("after reloading the tab"); | 586 SCOPED_TRACE("after reloading the tab"); |
| 588 CheckExtensionConsistency(first_extension_id_); | 587 CheckExtensionConsistency(first_extension_id_); |
| 589 ASSERT_EQ(size_before + 1, GetExtensionService()->extensions()->size()); | 588 ASSERT_EQ(size_before + 1, GetExtensionService()->extensions()->size()); |
| 590 ASSERT_EQ(0U, CountBalloons()); | 589 ASSERT_EQ(0U, CountBalloons()); |
| 591 } | 590 } |
| OLD | NEW |