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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_notifications.h

Issue 19196004: file_manager: Stop mentioning about 'gdata' from file_manager code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICATIO NS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICATIO NS_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICATIO NS_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICATIO NS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 29 matching lines...) Expand all
40 // Unregisters the removable device whose mount events will be handled in 40 // Unregisters the removable device whose mount events will be handled in
41 // |ManageNotificationsOnMountComplete|. 41 // |ManageNotificationsOnMountComplete|.
42 void UnregisterDevice(const std::string& system_path); 42 void UnregisterDevice(const std::string& system_path);
43 43
44 void ManageNotificationsOnMountCompleted(const std::string& system_path, 44 void ManageNotificationsOnMountCompleted(const std::string& system_path,
45 const std::string& label, 45 const std::string& label,
46 bool is_parent, 46 bool is_parent,
47 bool success, 47 bool success,
48 bool is_unsupported); 48 bool is_unsupported);
49 49
50 void ManageNotificationOnGDataSyncProgress(int count);
51 void ManageNotificationOnGDataSyncFinish(bool success);
52
53 // Primary method for showing a notification. 50 // Primary method for showing a notification.
54 void ShowNotification(NotificationType type, const std::string& path); 51 void ShowNotification(NotificationType type, const std::string& path);
55 void ShowNotificationDelayed(NotificationType type, 52 void ShowNotificationDelayed(NotificationType type,
56 const std::string& path, 53 const std::string& path,
57 base::TimeDelta delay); 54 base::TimeDelta delay);
58 55
59 // Primary method for hiding a notification. Virtual for mock in unittest. 56 // Primary method for hiding a notification. Virtual for mock in unittest.
60 virtual void HideNotification(NotificationType type, const std::string& path); 57 virtual void HideNotification(NotificationType type, const std::string& path);
61 void HideNotificationDelayed(NotificationType type, 58 void HideNotificationDelayed(NotificationType type,
62 const std::string& path, 59 const std::string& path,
(...skipping 28 matching lines...) Expand all
91 88
92 NotificationMap notification_map_; 89 NotificationMap notification_map_;
93 std::set<std::string> hidden_notifications_; 90 std::set<std::string> hidden_notifications_;
94 MountRequestsMap mount_requests_; 91 MountRequestsMap mount_requests_;
95 Profile* profile_; 92 Profile* profile_;
96 93
97 DISALLOW_COPY_AND_ASSIGN(FileManagerNotifications); 94 DISALLOW_COPY_AND_ASSIGN(FileManagerNotifications);
98 }; 95 };
99 96
100 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICA TIONS_H_ 97 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICA TIONS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698