Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / media / wv_test_license_server_config.h
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.
4
5 #ifndef CHROME_BROWSER_MEDIA_WV_TEST_LICENSE_SERVER_CONFIG_H_
6 #define CHROME_BROWSER_MEDIA_WV_TEST_LICENSE_SERVER_CONFIG_H_
7
8 #include "chrome/browser/media/test_license_server_config.h"
9
10 // License configuration to run the Widevine test license server.
11 class WVTestLicenseServerConfig : public TestLicenseServerConfig {
12  public:
13   WVTestLicenseServerConfig();
14   virtual ~WVTestLicenseServerConfig();
15
16   virtual std::string GetServerURL() OVERRIDE;
17
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;
22
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;
26
27   virtual bool IsPlatformSupported() OVERRIDE;
28
29  private:
30   DISALLOW_COPY_AND_ASSIGN(WVTestLicenseServerConfig);
31 };
32
33 #endif  // CHROME_BROWSER_MEDIA_WV_TEST_LICENSE_SERVER_CONFIG_H_