summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/extensions/file_browser_notifications.h
diff options
context:
space:
mode:
authorkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 23:54:26 +0000
committerkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 23:54:26 +0000
commit7e365c3fb2e127d1838ec665ba16baad5bf9a36e (patch)
tree8090590597382442d10d8030916635249b07e10c /chrome/browser/chromeos/extensions/file_browser_notifications.h
parent6de9070e8a48d7faf1d723c5fd40ed29222c7125 (diff)
downloadchromium_src-7e365c3fb2e127d1838ec665ba16baad5bf9a36e.zip
chromium_src-7e365c3fb2e127d1838ec665ba16baad5bf9a36e.tar.gz
chromium_src-7e365c3fb2e127d1838ec665ba16baad5bf9a36e.tar.bz2
cros: Show system notification for GData upload/download.
BUG=chromium-os:27875 TEST=unit_tests --gtest_filter='*FileBrowser*' TEST=manual test uploading/downloading in GData Review URL: https://chromiumcodereview.appspot.com/9747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/extensions/file_browser_notifications.h')
-rw-r--r--chrome/browser/chromeos/extensions/file_browser_notifications.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/extensions/file_browser_notifications.h b/chrome/browser/chromeos/extensions/file_browser_notifications.h
index 96d943e..2522f4f 100644
--- a/chrome/browser/chromeos/extensions/file_browser_notifications.h
+++ b/chrome/browser/chromeos/extensions/file_browser_notifications.h
@@ -25,7 +25,10 @@ class FileBrowserNotifications
FORMAT_SUCCESS,
FORMAT_FAIL,
FORMAT_START,
- FORMAT_START_FAIL
+ FORMAT_START_FAIL,
+ GDATA_SYNC,
+ GDATA_SYNC_SUCCESS,
+ GDATA_SYNC_FAIL,
};
typedef std::map<std::string, linked_ptr<chromeos::SystemNotification> >
@@ -43,6 +46,9 @@ class FileBrowserNotifications
bool success,
bool is_unsupported);
+ void ManageNotificationOnGDataSyncProgress(int count);
+ void ManageNotificationOnGDataSyncFinish(bool success);
+
void ShowNotification(NotificationType type, const std::string& path);
void ShowNotificationDelayed(NotificationType type,
const std::string& path,