Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / chrome_restart_request.h
blob788edb1d299397ad3567305a93fd704ed529bded
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_
8 #include <string>
10 class GURL;
12 namespace base {
13 class CommandLine;
16 namespace chromeos {
18 // Returns the command line string to be used for the OTR process. Also modifies
19 // the given command line.
20 std::string GetOffTheRecordCommandLine(
21 const GURL& start_url,
22 bool is_oobe_completed,
23 const base::CommandLine& base_command_line,
24 base::CommandLine* command_line);
26 // Request session manager to restart chrome with a new command line.
27 void RestartChrome(const std::string& command_line);
29 } // namespace chromeos
31 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_