blob: 7e0311c489d5d027970f08fb58cdbe0ea1c5335b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_
#include <string>
class CommandLine;
class GURL;
namespace chromeos {
// Returns the command line string to be used for the OTR process. Also modifies
// the given command line.
std::string GetOffTheRecordCommandLine(
const GURL& start_url,
const CommandLine& base_command_line,
CommandLine* command_line);
// Request session manager to restart chrome with a new command line.
void RestartChrome(const std::string& command_line);
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_
|