OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_DELEGATE_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_DELEGATE_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/notifications/notification_delegate.h" | 10 #include "chrome/browser/notifications/notification_delegate.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace notifier { | 13 namespace notifier { |
14 | 14 |
15 class ChromeNotifierService; | 15 class ChromeNotifierService; |
16 | 16 |
17 // ChromeNotifierDelegate is a NotificationDelegate which catches | 17 // ChromeNotifierDelegate is a NotificationDelegate which catches |
18 // responses from the NotificationUIManager when a notification | 18 // responses from the NotificationUIManager when a notification |
19 // has been closed. | 19 // has been closed. |
20 | 20 |
21 class ChromeNotifierDelegate : public NotificationDelegate { | 21 class ChromeNotifierDelegate : public NotificationDelegate { |
(...skipping 19 matching lines...) Expand all Loading... |
41 | 41 |
42 const std::string notification_id_; | 42 const std::string notification_id_; |
43 ChromeNotifierService* const chrome_notifier_; | 43 ChromeNotifierService* const chrome_notifier_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(ChromeNotifierDelegate); | 45 DISALLOW_COPY_AND_ASSIGN(ChromeNotifierDelegate); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace notifier | 48 } // namespace notifier |
49 | 49 |
50 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_DELEGATE_H
_ | 50 #endif // CHROME_BROWSER_NOTIFICATIONS_SYNC_NOTIFIER_CHROME_NOTIFIER_DELEGATE_H
_ |
OLD | NEW |