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

Side by Side Diff: pkg/webdriver/lib/webdriver.dart

Issue 12566008: Fix webdriver build warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « no previous file | no next file » | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library webdriver; 5 library webdriver;
6 6
7 import 'dart:async';
7 import 'dart:json' as json; 8 import 'dart:json' as json;
8 import 'dart:uri'; 9 import 'dart:uri';
9 import 'dart:io'; 10 import 'dart:io';
10 11
11 part 'src/base64decoder.dart'; 12 part 'src/base64decoder.dart';
12 13
13 /** 14 /**
14 * WebDriver bindings for Dart. 15 * WebDriver bindings for Dart.
15 * 16 *
16 * These bindings are based on the WebDriver JSON wire protocol spec 17 * These bindings are based on the WebDriver JSON wire protocol spec
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 * Get the log for a given log type. Log buffer is reset after each request. 1350 * Get the log for a given log type. Log buffer is reset after each request.
1350 * Each log entry is a [Map] with these fields: 1351 * Each log entry is a [Map] with these fields:
1351 * 1352 *
1352 * 'timestamp' (int) - The timestamp of the entry. 1353 * 'timestamp' (int) - The timestamp of the entry.
1353 * 'level' (String) - The log level of the entry, for example, "INFO". 1354 * 'level' (String) - The log level of the entry, for example, "INFO".
1354 * 'message' (String) - The log message. 1355 * 'message' (String) - The log message.
1355 */ 1356 */
1356 Future<List<Map>> getLogs(String type) => 1357 Future<List<Map>> getLogs(String type) =>
1357 _post('log', params: { 'type': type }); 1358 _post('log', params: { 'type': type });
1358 } 1359 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698