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

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

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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 | Annotate | Revision Log
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 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 class CommandLine;
12 11
13 namespace base { 12 namespace base {
14 class FilePath; 13 class CommandLine;
14 class FilePath;
15 } 15 }
16 16
17 // Class used to start a test license server. 17 // Class used to start a test license server.
18 class TestLicenseServerConfig { 18 class TestLicenseServerConfig {
19 public: 19 public:
20 TestLicenseServerConfig() {} 20 TestLicenseServerConfig() {}
21 virtual ~TestLicenseServerConfig() {} 21 virtual ~TestLicenseServerConfig() {}
22 22
23 // Returns a string containing the URL and port the server is listening to. 23 // 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: 24 // This URL is directly used by the Web app to request a license, example:
25 // http://localhost:8888/license_server 25 // http://localhost:8888/license_server
26 virtual std::string GetServerURL() = 0; 26 virtual std::string GetServerURL() = 0;
27 27
28 // Returns true if it successfully sets the command line to run the license 28 // Returns true if it successfully sets the command line to run the license
29 // server with needed args and switches. 29 // server with needed args and switches.
30 virtual bool GetServerCommandLine(CommandLine* command_line) = 0; 30 virtual bool GetServerCommandLine(base::CommandLine* command_line) = 0;
31 31
32 // Returns true if the server is supported on current platform. 32 // Returns true if the server is supported on current platform.
33 virtual bool IsPlatformSupported() = 0; 33 virtual bool IsPlatformSupported() = 0;
34 34
35 private: 35 private:
36 DISALLOW_COPY_AND_ASSIGN(TestLicenseServerConfig); 36 DISALLOW_COPY_AND_ASSIGN(TestLicenseServerConfig);
37 }; 37 };
38 38
39 #endif // CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_ 39 #endif // CHROME_BROWSER_MEDIA_TEST_LICENSE_SERVER_CONFIG_H_
OLDNEW
« no previous file with comments | « chrome/browser/jumplist_updater_win.h ('k') | chrome/browser/media/wv_test_license_server_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698