Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: chrome/browser/usb/usb_chooser_bubble_controller.cc

Issue 1984923002: Refactor ChooserBubbleController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/usb/usb_chooser_bubble_controller.cc
diff --git a/chrome/browser/usb/usb_chooser_bubble_controller.cc b/chrome/browser/usb/usb_chooser_bubble_controller.cc
index dc8b2a84273c422777a2acbdc79f54b868f72c85..58960ab8fa9c45a22d6e51368d14db263322eff3 100644
--- a/chrome/browser/usb/usb_chooser_bubble_controller.cc
+++ b/chrome/browser/usb/usb_chooser_bubble_controller.cc
@@ -105,6 +105,10 @@ void UsbChooserBubbleController::Cancel() {
void UsbChooserBubbleController::Close() {}
+GURL UsbChooserBubbleController::GetHelpCenterUrl() const {
+ return GURL(chrome::kChooserUsbOverviewURL);
+}
+
void UsbChooserBubbleController::OnDeviceAdded(
scoped_refptr<device::UsbDevice> device) {
if (DisplayDevice(device)) {
@@ -114,10 +118,6 @@ void UsbChooserBubbleController::OnDeviceAdded(
}
}
-GURL UsbChooserBubbleController::GetHelpCenterUrl() const {
- return GURL(chrome::kChooserUsbOverviewURL);
-}
-
void UsbChooserBubbleController::OnDeviceRemoved(
scoped_refptr<device::UsbDevice> device) {
for (auto it = devices_.begin(); it != devices_.end(); ++it) {

Powered by Google App Engine
This is Rietveld 408576698