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" | 5 #include "base/process_util.h" |
6 #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" |
16 #include "chrome/browser/notifications/notification.h" | 15 #include "chrome/browser/notifications/notification.h" |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 GetController())); | 515 GetController())); |
517 chrome::Reload(browser(), CURRENT_TAB); | 516 chrome::Reload(browser(), CURRENT_TAB); |
518 observer.Wait(); | 517 observer.Wait(); |
519 } | 518 } |
520 // Extension should now be loaded. | 519 // Extension should now be loaded. |
521 SCOPED_TRACE("after reloading the tab"); | 520 SCOPED_TRACE("after reloading the tab"); |
522 CheckExtensionConsistency(first_extension_id_); | 521 CheckExtensionConsistency(first_extension_id_); |
523 ASSERT_EQ(size_before + 1, GetExtensionService()->extensions()->size()); | 522 ASSERT_EQ(size_before + 1, GetExtensionService()->extensions()->size()); |
524 ASSERT_EQ(0U, CountBalloons()); | 523 ASSERT_EQ(0U, CountBalloons()); |
525 } | 524 } |
OLD | NEW |