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

Side by Side Diff: chrome/browser/download/notification/download_item_notification.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
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/macros.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "chrome/browser/download/download_commands.h" 10 #include "chrome/browser/download/download_commands.h"
(...skipping 11 matching lines...) Expand all
22 class SkBitmap; 22 class SkBitmap;
23 23
24 namespace test { 24 namespace test {
25 class DownloadItemNotificationTest; 25 class DownloadItemNotificationTest;
26 } 26 }
27 27
28 namespace gfx { 28 namespace gfx {
29 enum class VectorIconId; 29 enum class VectorIconId;
30 } 30 }
31 31
32 class DownloadNotificationManagerForProfile;
33
32 class DownloadItemNotification : public DownloadNotification, 34 class DownloadItemNotification : public DownloadNotification,
33 public ImageDecoder::ImageRequest { 35 public ImageDecoder::ImageRequest {
34 public: 36 public:
35 DownloadItemNotification(content::DownloadItem* item, 37 DownloadItemNotification(content::DownloadItem* item,
36 DownloadNotificationManagerForProfile* manager); 38 DownloadNotificationManagerForProfile* manager);
37 39
38 ~DownloadItemNotification() override; 40 ~DownloadItemNotification() override;
39 41
40 // Methods called from NotificationWatcher. 42 // Methods called from NotificationWatcher.
41 void OnDownloadUpdated(content::DownloadItem* item) override; 43 void OnDownloadUpdated(content::DownloadItem* item) override;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 131
130 void SetMessageCenterForTest( 132 void SetMessageCenterForTest(
131 message_center::MessageCenter* message_center); 133 message_center::MessageCenter* message_center);
132 134
133 base::WeakPtrFactory<DownloadItemNotification> weak_factory_; 135 base::WeakPtrFactory<DownloadItemNotification> weak_factory_;
134 136
135 DISALLOW_COPY_AND_ASSIGN(DownloadItemNotification); 137 DISALLOW_COPY_AND_ASSIGN(DownloadItemNotification);
136 }; 138 };
137 139
138 #endif // CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_NOTIFICATION_H_ 140 #endif // CHROME_BROWSER_DOWNLOAD_NOTIFICATION_DOWNLOAD_ITEM_NOTIFICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698