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

Side by Side Diff: net/test/android/javatests/src/org/chromium/net/test/IEmbeddedTestServerImpl.aidl

Issue 1465383003: [Android] Add ChromiumNetTestSupport.apk for the java EmbeddedTestServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +landmine for GN Created 5 years 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 package org.chromium.net.test;
6
7 interface IEmbeddedTestServerImpl {
8
9 /** Initialize the native object. */
10 void initializeNative();
11
12 /** Start the server.
13 *
14 * @return Whether the server was successfully started.
15 */
16 boolean start();
17
18 /** Serve files from the provided directory.
19 *
20 * @param directoryPath The path of the directory from which files should b e served.
21 */
22 void serveFilesFromDirectory(String directoryPath);
23
24 /** Get the full URL for the given relative URL.
25 *
26 * @param relativeUrl The relative URL for which a full URL should be retur ned.
27 * @return The URL as a String.
28 */
29 String getURL(String relativeUrl);
30
31 /** Shut down the server.
32 *
33 * @return Whether the server was successfully shut down.
34 */
35 boolean shutdownAndWaitUntilComplete();
36
37 /** Destroy the native object. */
38 void destroy();
39
40 }
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698