OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILE_SYSTEM_PROVIDER_NOTIFICATION_MANAGER_INTERF
ACE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_NOTIFICATION_MANAGER_INTERF
ACE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_NOTIFICATION_MANAGER_INTERF
ACE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_NOTIFICATION_MANAGER_INTERF
ACE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 | 10 |
10 namespace chromeos { | 11 namespace chromeos { |
11 namespace file_system_provider { | 12 namespace file_system_provider { |
12 | 13 |
13 // Handles notifications related to provided the file system. | 14 // Handles notifications related to provided the file system. |
14 class NotificationManagerInterface { | 15 class NotificationManagerInterface { |
15 public: | 16 public: |
16 // Result of a notification. | 17 // Result of a notification. |
17 enum NotificationResult { ABORT, CONTINUE }; | 18 enum NotificationResult { ABORT, CONTINUE }; |
18 | 19 |
(...skipping 13 matching lines...) Expand all Loading... |
32 virtual void HideUnresponsiveNotification(int id) = 0; | 33 virtual void HideUnresponsiveNotification(int id) = 0; |
33 | 34 |
34 private: | 35 private: |
35 DISALLOW_COPY_AND_ASSIGN(NotificationManagerInterface); | 36 DISALLOW_COPY_AND_ASSIGN(NotificationManagerInterface); |
36 }; | 37 }; |
37 | 38 |
38 } // namespace file_system_provider | 39 } // namespace file_system_provider |
39 } // namespace chromeos | 40 } // namespace chromeos |
40 | 41 |
41 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_NOTIFICATION_MANAGER_INT
ERFACE_H_ | 42 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_NOTIFICATION_MANAGER_INT
ERFACE_H_ |
OLD | NEW |