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

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

Issue 2065733002: Add a method to override the network conditions of the ChromeDriver session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
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_WINDOW_COMMANDS_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_
6 #define CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ 6 #define CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 const base::DictionaryValue& params, 302 const base::DictionaryValue& params,
303 std::unique_ptr<base::Value>* value, 303 std::unique_ptr<base::Value>* value,
304 Timeout* timeout); 304 Timeout* timeout);
305 305
306 Status ExecuteSetNetworkConditions(Session* session, 306 Status ExecuteSetNetworkConditions(Session* session,
307 WebView* web_view, 307 WebView* web_view,
308 const base::DictionaryValue& params, 308 const base::DictionaryValue& params,
309 std::unique_ptr<base::Value>* value, 309 std::unique_ptr<base::Value>* value,
310 Timeout* timeout); 310 Timeout* timeout);
311 311
312 Status ExecuteSetEmulatedNetworkConditions(Session* session,
samuong 2016/06/14 17:46:00 this is a really long name, let's change this to E
roisinmcl 2016/06/17 18:13:33 Changed this throughout the files where it is call
313 WebView* web_view,
314 const base::DictionaryValue& params,
315 std::unique_ptr<base::Value>* value,
316 Timeout* timeout);
317
312 Status ExecuteDeleteNetworkConditions(Session* session, 318 Status ExecuteDeleteNetworkConditions(Session* session,
313 WebView* web_view, 319 WebView* web_view,
314 const base::DictionaryValue& params, 320 const base::DictionaryValue& params,
315 std::unique_ptr<base::Value>* value, 321 std::unique_ptr<base::Value>* value,
316 Timeout* timeout); 322 Timeout* timeout);
317 323
318 Status ExecuteTakeHeapSnapshot(Session* session, 324 Status ExecuteTakeHeapSnapshot(Session* session,
319 WebView* web_view, 325 WebView* web_view,
320 const base::DictionaryValue& params, 326 const base::DictionaryValue& params,
321 std::unique_ptr<base::Value>* value, 327 std::unique_ptr<base::Value>* value,
322 Timeout* timeout); 328 Timeout* timeout);
323 329
324 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ 330 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698