| OLD | NEW |
| 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> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "base/time.h" | 15 #include "base/time.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 | 18 |
| 19 class FileManagerNotifications | 19 class FileManagerNotifications |
| 20 : public base::SupportsWeakPtr<FileManagerNotifications> { | 20 : public base::SupportsWeakPtr<FileManagerNotifications> { |
| 21 public: | 21 public: |
| 22 // If changing the enum, please also update kNotificationTypes in .cc file. | 22 // If changing the enum, please also update kNotificationTypes in .cc file. |
| 23 enum NotificationType { | 23 enum NotificationType { |
| 24 DEVICE, | 24 DEVICE, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 NotificationMap notification_map_; | 92 NotificationMap notification_map_; |
| 93 std::set<std::string> hidden_notifications_; | 93 std::set<std::string> hidden_notifications_; |
| 94 MountRequestsMap mount_requests_; | 94 MountRequestsMap mount_requests_; |
| 95 Profile* profile_; | 95 Profile* profile_; |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(FileManagerNotifications); | 97 DISALLOW_COPY_AND_ASSIGN(FileManagerNotifications); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICA
TIONS_H_ | 100 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_NOTIFICA
TIONS_H_ |
| OLD | NEW |