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

Unified Diff: chrome/browser/chromeos/usb_mount_observer.cc

Issue 1238006: Adding new test for mount observer. Also changing the usb mounter to only rel... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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/chromeos/usb_mount_observer.cc
===================================================================
--- chrome/browser/chromeos/usb_mount_observer.cc (revision 42629)
+++ chrome/browser/chromeos/usb_mount_observer.cc (working copy)
@@ -76,8 +76,8 @@
TabContents* tab = iter->browser->GetSelectedTabContents();
tab->OpenURL(GURL(url), GURL(), CURRENT_TAB,
PageTransition::LINK);
+ tab->NavigateToPendingEntry(NavigationController::RELOAD);
iter->device_path = path;
- iter->browser->Reload();
} else {
OpenFileBrowse(disks[i].mount_path, disks[i].device_path);
}
« no previous file with comments | « chrome/browser/chromeos/cros/mock_mount_library.cc ('k') | chrome/browser/chromeos/usb_mount_observer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698