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/extensions/tab_helper.h" | 5 #include "chrome/browser/extensions/tab_helper.h" |
6 | 6 |
7 #include "chrome/browser/extensions/activity_log.h" | 7 #include "chrome/browser/extensions/activity_log.h" |
8 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" | 8 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" |
9 #include "chrome/browser/extensions/api/declarative_content/content_rules_regist
ry.h" | 9 #include "chrome/browser/extensions/api/declarative_content/content_rules_regist
ry.h" |
10 #include "chrome/browser/extensions/crx_installer.h" | 10 #include "chrome/browser/extensions/crx_installer.h" |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 NavigationEntry* entry = controller.GetLastCommittedEntry(); | 445 NavigationEntry* entry = controller.GetLastCommittedEntry(); |
446 if (entry) | 446 if (entry) |
447 GetApplicationInfo(entry->GetPageID()); | 447 GetApplicationInfo(entry->GetPageID()); |
448 else | 448 else |
449 pending_web_app_action_ = NONE; | 449 pending_web_app_action_ = NONE; |
450 } | 450 } |
451 break; | 451 break; |
452 } | 452 } |
453 | 453 |
454 case chrome::NOTIFICATION_EXTENSION_UNLOADED: { | 454 case chrome::NOTIFICATION_EXTENSION_UNLOADED: { |
455 if (script_bubble_controller_.get()) { | 455 if (script_bubble_controller_) { |
456 script_bubble_controller_->OnExtensionUnloaded( | 456 script_bubble_controller_->OnExtensionUnloaded( |
457 content::Details<extensions::UnloadedExtensionInfo>( | 457 content::Details<extensions::UnloadedExtensionInfo>( |
458 details)->extension->id()); | 458 details)->extension->id()); |
459 break; | 459 break; |
460 } | 460 } |
461 } | 461 } |
462 } | 462 } |
463 } | 463 } |
464 | 464 |
465 } // namespace extensions | 465 } // namespace extensions |
OLD | NEW |