summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/usb_mount_observer.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-11 23:16:58 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-11 23:16:58 +0000
commit75a3230a00c5416d5cbdd1f1803d126ab507b512 (patch)
treed55526ede53341a5cd30125676bf453e3cc713ab /chrome/browser/chromeos/usb_mount_observer.h
parent9bea0a88d3c89b66cc95c9e7eae57b13f57ce3d6 (diff)
downloadchromium_src-75a3230a00c5416d5cbdd1f1803d126ab507b512.zip
chromium_src-75a3230a00c5416d5cbdd1f1803d126ab507b512.tar.gz
chromium_src-75a3230a00c5416d5cbdd1f1803d126ab507b512.tar.bz2
Lands http://codereview.chromium.org/505031 for dhg:
Browser should pop up status when usb is inserted. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/547009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35967 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/usb_mount_observer.h')
-rw-r--r--chrome/browser/chromeos/usb_mount_observer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/usb_mount_observer.h b/chrome/browser/chromeos/usb_mount_observer.h
index c6cb2b9..84a8fe2 100644
--- a/chrome/browser/chromeos/usb_mount_observer.h
+++ b/chrome/browser/chromeos/usb_mount_observer.h
@@ -50,6 +50,10 @@ class USBMountObserver : public chromeos::MountLibrary::Observer,
void RemoveBrowserFromVector(const std::string& path);
+ // Used to create a window of a standard size, and add it to a list
+ // of tracked browser windows in case that device goes away.
+ void PopUpWindow(const std::string& url, const std::string& device_path);
+
Profile* profile_;
std::vector<BrowserWithPath> browsers_;
NotificationRegistrar registrar_;