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

Side by Side Diff: chrome/browser/media/test_license_server_config.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_ 5 #ifndef CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_
6 #define CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_ 6 #define CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace base { 12 namespace base {
13 class CommandLine; 13 class CommandLine;
14 class FilePath;
15 } 14 }
16 15
17 // Class used to start a test license server. 16 // Class used to start a test license server.
18 class TestLicenseServerConfig { 17 class TestLicenseServerConfig {
19 public: 18 public:
20 TestLicenseServerConfig() {} 19 TestLicenseServerConfig() {}
21 virtual ~TestLicenseServerConfig() {} 20 virtual ~TestLicenseServerConfig() {}
22 21
23 // Returns a string containing the URL and port the server is listening to. 22 // Returns a string containing the URL and port the server is listening to.
24 // This URL is directly used by the Web app to request a license, example: 23 // This URL is directly used by the Web app to request a license, example:
25 // http://localhost:8888/license_server 24 // http://localhost:8888/license_server
26 virtual std::string GetServerURL() = 0; 25 virtual std::string GetServerURL() = 0;
27 26
28 // Returns true if it successfully sets the command line to run the license 27 // Returns true if it successfully sets the command line to run the license
29 // server with needed args and switches. 28 // server with needed args and switches.
30 virtual bool GetServerCommandLine(base::CommandLine* command_line) = 0; 29 virtual bool GetServerCommandLine(base::CommandLine* command_line) = 0;
31 30
32 // Returns true if the server is supported on current platform. 31 // Returns true if the server is supported on current platform.
33 virtual bool IsPlatformSupported() = 0; 32 virtual bool IsPlatformSupported() = 0;
34 33
35 private: 34 private:
36 DISALLOW_COPY_AND_ASSIGN(TestLicenseServerConfig); 35 DISALLOW_COPY_AND_ASSIGN(TestLicenseServerConfig);
37 }; 36 };
38 37
39 #endif // CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_ 38 #endif // CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/presentation_service_delegate_impl.h ('k') | chrome/browser/media/webrtc/webrtc_log_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698