summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media/test_license_server_config.h
diff options
context:
space:
mode:
authorshadi@chromium.org <shadi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 22:50:57 +0000
committershadi@chromium.org <shadi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-28 22:50:57 +0000
commit867b38c53e00420ea92f4901f2afdde35bc5f551 (patch)
tree5f8473c40def76773f67d356acab9563099ddfa2 /chrome/browser/media/test_license_server_config.h
parent2a66ebdeee717400b91f025de14e3ba2be927bf4 (diff)
downloadchromium_src-867b38c53e00420ea92f4901f2afdde35bc5f551.zip
chromium_src-867b38c53e00420ea92f4901f2afdde35bc5f551.tar.gz
chromium_src-867b38c53e00420ea92f4901f2afdde35bc5f551.tar.bz2
Update WV test license server config to use portable sdk server.
This also makes the test server dynamically select an open port to use. BUG=339983 Review URL: https://codereview.chromium.org/143003026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/media/test_license_server_config.h')
-rw-r--r--chrome/browser/media/test_license_server_config.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/media/test_license_server_config.h b/chrome/browser/media/test_license_server_config.h
index 1b4ffd4..b25da78 100644
--- a/chrome/browser/media/test_license_server_config.h
+++ b/chrome/browser/media/test_license_server_config.h
@@ -25,11 +25,9 @@ class TestLicenseServerConfig {
// http://localhost:8888/license_server
virtual std::string GetServerURL() = 0;
- // Retrieves the path for the license server binaries.
- virtual void GetLicenseServerPath(base::FilePath* path) = 0;
-
- // Appends any necessary server command line arguments.
- virtual void AppendCommandLineArgs(CommandLine* command_line) {}
+ // Returns true if it successfully sets the command line to run the license
+ // server with needed args and switches.
+ virtual bool GetServerCommandLine(CommandLine* command_line) = 0;
// Returns true if the server is supported on current platform.
virtual bool IsPlatformSupported() = 0;