Index: chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h |
diff --git a/chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h b/chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h |
index bdfb9560d3787f1567612932976f7f2a45caa7ba..adf905a46379129c606d3725d31026869066f624 100644 |
--- a/chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h |
+++ b/chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h |
@@ -104,8 +104,8 @@ class MediaGalleriesScanResultDialogController |
MediaGalleriesScanResultDialogController*)> CreateDialogCallback; |
typedef std::map<MediaGalleryPrefId, ScanResult> ScanResults; |
- // Updates |results| from |preferences|. Will not add galleries from |
- // |ignore_list| onto |results|. |
+ // Updates |scan_results| from |preferences|. Will not add galleries from |
+ // |ignore_list| onto |scan_results|. |
static void UpdateScanResultsFromPreferences( |
MediaGalleriesPreferences* preferences, |
const extensions::Extension* extension, |
@@ -129,8 +129,7 @@ class MediaGalleriesScanResultDialogController |
void OnPreferencesInitialized(); |
// Used to keep the dialog in sync with the preferences. |
- void OnPreferenceUpdate(const std::string& extension_id, |
- MediaGalleryPrefId pref_id); |
+ void OnPreferenceUpdate(const std::string& extension_id); |
// Used to keep the dialog in sync with attached and detached devices. |
void OnRemovableDeviceUpdate(const std::string device_id); |