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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ 7 8 #include <string> 9 10 class CommandLine; 11 class GURL; 12 13 namespace chromeos { 14 15 // Returns the command line string to be used for the OTR process. Also modifies 16 // the given command line. 17 std::string GetOffTheRecordCommandLine( 18 const GURL& start_url, 19 const CommandLine& base_command_line, 20 CommandLine* command_line); 21 22 // Request session manager to restart chrome with a new command line. 23 void RestartChrome(const std::string& command_line); 24 25 } // namespace chromeos 26 27 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ 28