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_ITEM_NOTIFICATION_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_NOTIFICATION_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_NOTIFICATION_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_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/download/notification/download_notification.h" | 11 #include "chrome/browser/download/notification/download_notification.h" |
11 #include "chrome/browser/image_decoder.h" | 12 #include "chrome/browser/image_decoder.h" |
12 #include "chrome/browser/notifications/notification.h" | 13 #include "chrome/browser/notifications/notification.h" |
13 #include "chrome/browser/notifications/notification_delegate.h" | 14 #include "chrome/browser/notifications/notification_delegate.h" |
14 #include "chrome/browser/notifications/notification_test_util.h" | 15 #include "chrome/browser/notifications/notification_test_util.h" |
15 #include "content/public/browser/download_item.h" | 16 #include "content/public/browser/download_item.h" |
16 #include "grit/theme_resources.h" | 17 #include "grit/theme_resources.h" |
17 #include "third_party/skia/include/core/SkBitmap.h" | 18 #include "third_party/skia/include/core/SkBitmap.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 128 |
128 void SetMessageCenterForTest( | 129 void SetMessageCenterForTest( |
129 message_center::MessageCenter* message_center); | 130 message_center::MessageCenter* message_center); |
130 | 131 |
131 base::WeakPtrFactory<DownloadItemNotification> weak_factory_; | 132 base::WeakPtrFactory<DownloadItemNotification> weak_factory_; |
132 | 133 |
133 DISALLOW_COPY_AND_ASSIGN(DownloadItemNotification); | 134 DISALLOW_COPY_AND_ASSIGN(DownloadItemNotification); |
134 }; | 135 }; |
135 | 136 |
136 #endif // CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_NOTIFICATION_H_ | 137 #endif // CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_NOTIFICATION_H_ |
OLD | NEW |