OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DOWNLOAD_NOTIFICATION_DOWNLOAD_NOTIFICATION_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_NOTIFICATION_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_NOTIFICATION_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_NOTIFICATION_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
9 #include "chrome/browser/download/download_commands.h" | 10 #include "chrome/browser/download/download_commands.h" |
10 #include "chrome/browser/notifications/notification.h" | 11 #include "chrome/browser/notifications/notification.h" |
11 #include "chrome/browser/notifications/notification_delegate.h" | 12 #include "chrome/browser/notifications/notification_delegate.h" |
12 #include "chrome/browser/notifications/notification_test_util.h" | 13 #include "chrome/browser/notifications/notification_test_util.h" |
13 #include "content/public/browser/download_item.h" | 14 #include "content/public/browser/download_item.h" |
14 #include "grit/theme_resources.h" | 15 #include "grit/theme_resources.h" |
15 #include "ui/message_center/message_center.h" | 16 #include "ui/message_center/message_center.h" |
16 #include "ui/message_center/message_center_observer.h" | 17 #include "ui/message_center/message_center_observer.h" |
17 | 18 |
(...skipping 27 matching lines...) Expand all Loading... |
45 protected: | 46 protected: |
46 NotificationDelegate* watcher() const; | 47 NotificationDelegate* watcher() const; |
47 | 48 |
48 private: | 49 private: |
49 scoped_refptr<NotificationDelegate> watcher_; | 50 scoped_refptr<NotificationDelegate> watcher_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(DownloadNotification); | 52 DISALLOW_COPY_AND_ASSIGN(DownloadNotification); |
52 }; | 53 }; |
53 | 54 |
54 #endif // CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_NOTIFICATION_H_ | 55 #endif // CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_NOTIFICATION_H_ |
OLD | NEW |