Chromium Code Reviews| Index: chrome/browser/automation/automation_provider_observers.h |
| diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h |
| index 2eff551ee352445e39f5b96023c8bd68d6d537fb..9aa0d9f5c83d58b084298ace68c6132c7764d0fc 100644 |
| --- a/chrome/browser/automation/automation_provider_observers.h |
| +++ b/chrome/browser/automation/automation_provider_observers.h |
| @@ -702,6 +702,46 @@ class ScreenLockUnlockObserver : public NotificationObserver { |
| DISALLOW_COPY_AND_ASSIGN(ScreenLockUnlockObserver); |
| }; |
| + |
| +class NetworkScanObserver |
| + : public chromeos::NetworkLibrary::NetworkManagerObserver { |
|
dennis_jeffrey
2011/03/24 23:48:54
In other parts of this file, this line is generall
dtu
2011/03/25 22:22:11
Done.
|
| + public: |
| + NetworkScanObserver(AutomationProvider* automation, |
| + IPC::Message* reply_message); |
| + |
| + virtual ~NetworkScanObserver(); |
| + |
| + // NetworkLibrary::NetworkManagerObserver implementation. |
| + virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj); |
| + |
| + private: |
| + AutomationProvider* automation_; |
| + IPC::Message* reply_message_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(NetworkScanObserver); |
| +}; |
| + |
| +// Waits for a connection success or failure for the specified |
| +// network and returns the status to the automation provider. |
| +class NetworkConnectObserver |
| + : public chromeos::NetworkLibrary::NetworkManagerObserver { |
|
dennis_jeffrey
2011/03/24 23:48:54
Same comment as line 707 above.
dtu
2011/03/25 22:22:11
Done.
|
| + public: |
| + NetworkConnectObserver(AutomationProvider* automation, |
| + IPC::Message* reply_message, |
| + chromeos::Network* network); |
| + |
| + virtual ~NetworkConnectObserver(); |
| + |
| + // NetworkLibrary::NetworkManagerObserver implementation. |
| + virtual void OnNetworkManagerChanged(chromeos::NetworkLibrary* obj); |
| + |
| + private: |
| + AutomationProvider* automation_; |
| + IPC::Message* reply_message_; |
| + chromeos::Network* network_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(NetworkConnectObserver); |
| +}; |
| #endif // defined(OS_CHROMEOS) |
| // Waits for the bookmark model to load. |