| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/extension_infobar_delegate.h" | 5 #include "chrome/browser/extensions/extension_infobar_delegate.h" |
| 6 | 6 |
| 7 #include "chrome/browser/extensions/extension_host.h" | 7 #include "chrome/browser/extensions/extension_host.h" |
| 8 #include "chrome/browser/extensions/extension_process_manager.h" | 8 #include "chrome/browser/extensions/extension_process_manager.h" |
| 9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/tab_contents/tab_contents.h" | 10 #include "chrome/browser/tab_contents/tab_contents.h" |
| 11 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 12 #include "chrome/common/notification_details.h" | 12 #include "chrome/common/notification_details.h" |
| 13 #include "chrome/common/notification_source.h" | 13 #include "chrome/common/notification_source.h" |
| 14 #include "chrome/common/notification_type.h" | 14 #include "chrome/common/notification_type.h" |
| 15 | 15 |
| 16 ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(Browser* browser, | 16 ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(Browser* browser, |
| 17 TabContents* tab_contents, | 17 TabContents* tab_contents, |
| 18 const Extension* extension, | 18 const Extension* extension, |
| 19 const GURL& url) | 19 const GURL& url) |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 if (extension_ == extension) | 82 if (extension_ == extension) |
| 83 tab_contents_->RemoveInfoBar(this); | 83 tab_contents_->RemoveInfoBar(this); |
| 84 break; | 84 break; |
| 85 } | 85 } |
| 86 default: { | 86 default: { |
| 87 NOTREACHED() << "Unknown message"; | 87 NOTREACHED() << "Unknown message"; |
| 88 break; | 88 break; |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 } | 91 } |
| OLD | NEW |