1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_MEDIA_WV_TEST_LICENSE_SERVER_CONFIG_H_
6 #define CHROME_BROWSER_MEDIA_WV_TEST_LICENSE_SERVER_CONFIG_H_
8 #include "chrome/browser/media/test_license_server_config.h"
10 // License configuration to run the Widevine test license server.
11 class WVTestLicenseServerConfig : public TestLicenseServerConfig {
13 WVTestLicenseServerConfig();
14 virtual ~WVTestLicenseServerConfig();
16 virtual std::string GetServerURL() OVERRIDE;
18 // Retrieves the path for the license server binaries.
19 // WV license server files are located under:
20 // chrome/test/license_server/<platform>/
21 virtual void GetLicenseServerPath(base::FilePath* path) OVERRIDE;
23 // Appends necessary Widevine license server command line arguments:
24 // port number, keys file path, policies file path, and profiles file path.
25 virtual void AppendCommandLineArgs(CommandLine* command_line) OVERRIDE;
27 virtual bool IsPlatformSupported() OVERRIDE;
30 DISALLOW_COPY_AND_ASSIGN(WVTestLicenseServerConfig);
33 #endif // CHROME_BROWSER_MEDIA_WV_TEST_LICENSE_SERVER_CONFIG_H_