| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TEST_AUTOMATION_AUTOMATION_PROXY_H__ | 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ |
| 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ | 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "app/message_box_flags.h" | 10 #include "app/message_box_flags.h" |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/process_util.h" | 12 #include "base/process_util.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "base/thread.h" | 15 #include "base/thread.h" |
| 16 #include "base/waitable_event.h" | 16 #include "base/waitable_event.h" |
| 17 #include "chrome/common/ipc_channel_proxy.h" | |
| 18 #include "chrome/common/ipc_message.h" | |
| 19 #include "chrome/common/ipc_sync_channel.h" | |
| 20 #include "chrome/test/automation/automation_handle_tracker.h" | 17 #include "chrome/test/automation/automation_handle_tracker.h" |
| 21 #include "chrome/test/automation/automation_messages.h" | 18 #include "chrome/test/automation/automation_messages.h" |
| 19 #include "ipc/ipc_channel_proxy.h" |
| 20 #include "ipc/ipc_message.h" |
| 21 #include "ipc/ipc_sync_channel.h" |
| 22 | 22 |
| 23 class BrowserProxy; | 23 class BrowserProxy; |
| 24 class TabProxy; | 24 class TabProxy; |
| 25 class WindowProxy; | 25 class WindowProxy; |
| 26 | 26 |
| 27 // This is an interface that AutomationProxy-related objects can use to | 27 // This is an interface that AutomationProxy-related objects can use to |
| 28 // access the message-sending abilities of the Proxy. | 28 // access the message-sending abilities of the Proxy. |
| 29 class AutomationMessageSender : public IPC::Message::Sender { | 29 class AutomationMessageSender : public IPC::Message::Sender { |
| 30 public: | 30 public: |
| 31 // Sends a message synchronously; it doesn't return until a response has been | 31 // Sends a message synchronously; it doesn't return until a response has been |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 // a version resource. | 249 // a version resource. |
| 250 bool perform_version_check_; | 250 bool perform_version_check_; |
| 251 | 251 |
| 252 // Delay to let the browser execute the command. | 252 // Delay to let the browser execute the command. |
| 253 base::TimeDelta command_execution_timeout_; | 253 base::TimeDelta command_execution_timeout_; |
| 254 | 254 |
| 255 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); | 255 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ | 258 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ |
| OLD | NEW |