OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ |
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ | 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1198 base::WeakPtr<AutomationProvider> automation_; | 1198 base::WeakPtr<AutomationProvider> automation_; |
1199 scoped_ptr<IPC::Message> reply_message_; | 1199 scoped_ptr<IPC::Message> reply_message_; |
1200 NavigationController* controller_; | 1200 NavigationController* controller_; |
1201 | 1201 |
1202 DISALLOW_COPY_AND_ASSIGN(OmniboxAcceptNotificationObserver); | 1202 DISALLOW_COPY_AND_ASSIGN(OmniboxAcceptNotificationObserver); |
1203 }; | 1203 }; |
1204 | 1204 |
1205 // Allows the automation provider to wait for a save package notification. | 1205 // Allows the automation provider to wait for a save package notification. |
1206 class SavePackageNotificationObserver : public NotificationObserver { | 1206 class SavePackageNotificationObserver : public NotificationObserver { |
1207 public: | 1207 public: |
1208 SavePackageNotificationObserver(SavePackage* save_package, | 1208 SavePackageNotificationObserver(DownloadManager* download_manager, |
Randy Smith (Not in Mondays)
2011/07/27 21:08:35
Why are you making this change? I don't see the m
achuithb
2011/07/28 00:45:58
Explained elsewhere
| |
1209 AutomationProvider* automation, | 1209 AutomationProvider* automation, |
1210 IPC::Message* reply_message); | 1210 IPC::Message* reply_message); |
1211 virtual ~SavePackageNotificationObserver(); | 1211 virtual ~SavePackageNotificationObserver(); |
1212 | 1212 |
1213 virtual void Observe(int type, | 1213 virtual void Observe(int type, |
1214 const NotificationSource& source, | 1214 const NotificationSource& source, |
1215 const NotificationDetails& details); | 1215 const NotificationDetails& details); |
1216 | 1216 |
1217 private: | 1217 private: |
1218 NotificationRegistrar registrar_; | 1218 NotificationRegistrar registrar_; |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1585 | 1585 |
1586 private: | 1586 private: |
1587 NotificationRegistrar registrar_; | 1587 NotificationRegistrar registrar_; |
1588 base::WeakPtr<AutomationProvider> automation_; | 1588 base::WeakPtr<AutomationProvider> automation_; |
1589 scoped_ptr<IPC::Message> reply_message_; | 1589 scoped_ptr<IPC::Message> reply_message_; |
1590 | 1590 |
1591 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); | 1591 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); |
1592 }; | 1592 }; |
1593 | 1593 |
1594 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ | 1594 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ |
OLD | NEW |