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

Side by Side Diff: chrome/test/chromedriver/chrome/network_list.cc

Issue 1004843002: [chromedriver] Add Network Presets to Network Throttling feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file was generated at (2015-03-12 15:00:42.307998) by running:
6 // chrome/test/chromedriver/embed_networks_in_cpp.py --directory
7 // chrome/test/chromedriver/chrome/
8 // third_party/WebKit/Source/devtools/front_end/toolbox/OverridesUI.js
9
10 #include "chrome/test/chromedriver/chrome/network_list.h"
11
12 const char kNetworks[] =
13 "[{\"id\": \"offline\", \"title\": \"Offline\", \"throughput\": 0, "
14 "\"latency\": 0},{\"id\": \"gprs\", \"title\": \"GPRS\", \"throughput\": "
15 "50, \"latency\": 500},{\"id\": \"edge\", \"title\": \"Regular 2G\", "
16 "\"throughput\": 250, \"latency\": 300},{\"id\": \"2g+\", \"title\": "
17 "\"Good 2G\", \"throughput\": 450, \"latency\": 150},{\"id\": \"3g\", "
18 "\"title\": \"Regular 3G\", \"throughput\": 750, \"latency\": "
19 "100},{\"id\": \"3g+\", \"title\": \"Good 3G\", \"throughput\": 1536.0, "
20 "\"latency\": 40},{\"id\": \"4g\", \"title\": \"Regular 4G\", "
21 "\"throughput\": 4096.0, \"latency\": 20},{\"id\": \"dsl\", \"title\": "
22 "\"DSL\", \"throughput\": 2048.0, \"latency\": 5},{\"id\": \"wifi\", "
23 "\"title\": \"WiFi\", \"throughput\": 30720.0, \"latency\": 2},{\"id\": "
24 "\"online\", \"title\": \"No throttling\", \"throughput\": -1, "
25 "\"latency\": 0}]";
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome/network_list.h ('k') | chrome/test/chromedriver/client/chromedriver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698