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

Side by Side Diff: chrome/test/ui/v8_benchmark_uitest.js

Issue 7578004: Move more files from chrome/test to chrome/test/base, part #7 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/ui/v8_benchmark_uitest.cc ('k') | chrome/test/url_fetch_test/url_fetch_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 Copyright (c) 2009 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 */
6
7 // Automation utilities for running the V8 Benchmark as a UI test.
8
9 function Automation() {
10 this.score = '';
11 this.results = {};
12 }
13
14 Automation.prototype.SetDone = function() {
15 document.cookie = '__done=1; path=/';
16 }
17
18 Automation.prototype.SetScore = function (score) {
19 this.score = score;
20 }
21
22 Automation.prototype.GetScore = function() {
23 return this.score;
24 }
25
26 Automation.prototype.AddResult = function(name, result) {
27 this.results[name] = result;
28 }
29
30 Automation.prototype.GetResults = function() {
31 return this.results;
32 }
33
34 automation = new Automation();
OLDNEW
« no previous file with comments | « chrome/test/ui/v8_benchmark_uitest.cc ('k') | chrome/test/url_fetch_test/url_fetch_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698