| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 class GURL; |
| 11 |
| 12 namespace base { |
| 10 class CommandLine; | 13 class CommandLine; |
| 11 class GURL; | 14 } |
| 12 | 15 |
| 13 namespace chromeos { | 16 namespace chromeos { |
| 14 | 17 |
| 15 // Returns the command line string to be used for the OTR process. Also modifies | 18 // Returns the command line string to be used for the OTR process. Also modifies |
| 16 // the given command line. | 19 // the given command line. |
| 17 std::string GetOffTheRecordCommandLine( | 20 std::string GetOffTheRecordCommandLine( |
| 18 const GURL& start_url, | 21 const GURL& start_url, |
| 19 const CommandLine& base_command_line, | 22 const base::CommandLine& base_command_line, |
| 20 CommandLine* command_line); | 23 base::CommandLine* command_line); |
| 21 | 24 |
| 22 // Request session manager to restart chrome with a new command line. | 25 // Request session manager to restart chrome with a new command line. |
| 23 void RestartChrome(const std::string& command_line); | 26 void RestartChrome(const std::string& command_line); |
| 24 | 27 |
| 25 } // namespace chromeos | 28 } // namespace chromeos |
| 26 | 29 |
| 27 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ | 30 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ |
| OLD | NEW |