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

Side by Side Diff: chrome/test/automation/automation_proxy.h

Issue 7870008: Wait properly for renderer crashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win? Created 9 years, 3 months 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 | Annotate | Revision Log
OLDNEW
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_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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 std::string* response) WARN_UNUSED_RESULT; 216 std::string* response) WARN_UNUSED_RESULT;
217 217
218 #if defined(OS_CHROMEOS) 218 #if defined(OS_CHROMEOS)
219 // Logs in through the Chrome OS login wizard with given |username| 219 // Logs in through the Chrome OS login wizard with given |username|
220 // and |password|. Returns true on success. 220 // and |password|. Returns true on success.
221 bool LoginWithUserAndPass(const std::string& username, 221 bool LoginWithUserAndPass(const std::string& username,
222 const std::string& password) WARN_UNUSED_RESULT; 222 const std::string& password) WARN_UNUSED_RESULT;
223 #endif 223 #endif
224 224
225 #if defined(OS_POSIX) 225 #if defined(OS_POSIX)
226 base::file_handle_mapping_vector fds_to_map() const; 226 int TakeClientFileDescriptor();
darin (slow to review) 2011/09/15 05:43:37 this method is a little bit odd here. it isn't cl
Paweł Hajdan Jr. 2011/09/15 18:36:44 Done.
227 #endif 227 #endif
228 228
229 // AutomationMessageSender implementation. 229 // AutomationMessageSender implementation.
230 virtual bool Send(IPC::Message* message) WARN_UNUSED_RESULT; 230 virtual bool Send(IPC::Message* message) WARN_UNUSED_RESULT;
231 virtual bool Send(IPC::Message* message, int timeout_ms) WARN_UNUSED_RESULT; 231 virtual bool Send(IPC::Message* message, int timeout_ms) WARN_UNUSED_RESULT;
232 232
233 // Wrapper over AutomationHandleTracker::InvalidateHandle. Receives the 233 // Wrapper over AutomationHandleTracker::InvalidateHandle. Receives the
234 // message from AutomationProxy, unpacks the messages and routes that call to 234 // message from AutomationProxy, unpacks the messages and routes that call to
235 // the tracker. 235 // the tracker.
236 virtual void InvalidateHandle(const IPC::Message& message); 236 virtual void InvalidateHandle(const IPC::Message& message);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 // Delay to let the browser execute the command. 308 // Delay to let the browser execute the command.
309 base::TimeDelta action_timeout_; 309 base::TimeDelta action_timeout_;
310 310
311 base::PlatformThreadId listener_thread_id_; 311 base::PlatformThreadId listener_thread_id_;
312 312
313 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); 313 DISALLOW_COPY_AND_ASSIGN(AutomationProxy);
314 }; 314 };
315 315
316 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ 316 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698