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

Side by Side Diff: base/android/javatests/src/org/chromium/base/test/UrlUtils.java

Issue 10911097: [Android] Upstream org.chromium.base.test.UrlUtils (partially) and device files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | base/base.gyp » ('j') | base/base.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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 package org.chromium.base.test;
6
7 /**
8 * Collection of URL utilities.
9 */
10 public class UrlUtils {
11 // See TEST_DATA_DIR in build/android/pylib/constants.py
12 private final static String DATA_DIR = "file:///sdcard/chrome/test/data/";
13
14 /**
15 * Construct a suitable URL for loading a test data file.
16 *
17 * @param path Pathname relative to chrome/test/data/android/device_files
18 */
19 public static String getTestFileUrl(String path) {
20 return DATA_DIR + path;
21 }
22 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gyp » ('j') | base/base.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698