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

Side by Side Diff: chrome/test/chromedriver/session_commands.h

Issue 12675002: [chromedriver] Implement command: executeAsyncScript and setScriptTimeout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address +5000 timeout problem. Created 7 years, 9 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
« no previous file with comments | « chrome/test/chromedriver/run_py_tests.py ('k') | chrome/test/chromedriver/session_commands.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_
6 #define CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ 6 #define CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const base::DictionaryValue& params, 67 const base::DictionaryValue& params,
68 scoped_ptr<base::Value>* value); 68 scoped_ptr<base::Value>* value);
69 69
70 // Configure the amount of time that a particular type of operation can execute 70 // Configure the amount of time that a particular type of operation can execute
71 // for before they are aborted and a timeout error is returned to the client. 71 // for before they are aborted and a timeout error is returned to the client.
72 Status ExecuteSetTimeout( 72 Status ExecuteSetTimeout(
73 Session* session, 73 Session* session,
74 const base::DictionaryValue& params, 74 const base::DictionaryValue& params,
75 scoped_ptr<base::Value>* value); 75 scoped_ptr<base::Value>* value);
76 76
77 // Set the timeout for asynchronous scripts.
78 Status ExecuteSetScriptTimeout(
79 Session* session,
80 const base::DictionaryValue& params,
81 scoped_ptr<base::Value>* value);
82
77 // Returns whether an alert is open. 83 // Returns whether an alert is open.
78 Status ExecuteGetAlert( 84 Status ExecuteGetAlert(
79 Session* session, 85 Session* session,
80 const base::DictionaryValue& params, 86 const base::DictionaryValue& params,
81 scoped_ptr<base::Value>* value); 87 scoped_ptr<base::Value>* value);
82 88
83 // Returns the text of the open alert. 89 // Returns the text of the open alert.
84 Status ExecuteGetAlertText( 90 Status ExecuteGetAlertText(
85 Session* session, 91 Session* session,
86 const base::DictionaryValue& params, 92 const base::DictionaryValue& params,
(...skipping 11 matching lines...) Expand all
98 const base::DictionaryValue& params, 104 const base::DictionaryValue& params,
99 scoped_ptr<base::Value>* value); 105 scoped_ptr<base::Value>* value);
100 106
101 // Dismisses the open alert. 107 // Dismisses the open alert.
102 Status ExecuteDismissAlert( 108 Status ExecuteDismissAlert(
103 Session* session, 109 Session* session,
104 const base::DictionaryValue& params, 110 const base::DictionaryValue& params,
105 scoped_ptr<base::Value>* value); 111 scoped_ptr<base::Value>* value);
106 112
107 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ 113 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/run_py_tests.py ('k') | chrome/test/chromedriver/session_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698