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 10class GURL; 11 12namespace base { 13class CommandLine; 14} 15 16namespace chromeos { 17 18// Returns the command line string to be used for the OTR process. Also modifies 19// the given command line. 20std::string GetOffTheRecordCommandLine( 21 const GURL& start_url, 22 bool is_oobe_completed, 23 const base::CommandLine& base_command_line, 24 base::CommandLine* command_line); 25 26// Request session manager to restart chrome with a new command line. 27void RestartChrome(const std::string& command_line); 28 29} // namespace chromeos 30 31#endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_ 32