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/extension_uninstall_dialog.h" | 5 #include "chrome/browser/extensions/extension_uninstall_dialog.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 } | 188 } |
189 | 189 |
190 delegate_->OnExtensionUninstallDialogClosed(success, error); | 190 delegate_->OnExtensionUninstallDialogClosed(success, error); |
191 } | 191 } |
192 | 192 |
193 void ExtensionUninstallDialog::HandleReportAbuse() { | 193 void ExtensionUninstallDialog::HandleReportAbuse() { |
194 chrome::NavigateParams params( | 194 chrome::NavigateParams params( |
195 profile_, | 195 profile_, |
196 extension_urls::GetWebstoreReportAbuseUrl(extension_->id(), kReferrerId), | 196 extension_urls::GetWebstoreReportAbuseUrl(extension_->id(), kReferrerId), |
197 ui::PAGE_TRANSITION_LINK); | 197 ui::PAGE_TRANSITION_LINK); |
198 params.disposition = NEW_FOREGROUND_TAB; | 198 params.disposition = WindowOpenDisposition::NEW_FOREGROUND_TAB; |
199 chrome::Navigate(¶ms); | 199 chrome::Navigate(¶ms); |
200 } | 200 } |
201 | 201 |
202 } // namespace extensions | 202 } // namespace extensions |
OLD | NEW |