Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / chromeos / login / chrome_restart_request.h
blob7e0311c489d5d027970f08fb58cdbe0ea1c5335b
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 CommandLine;
11 class GURL;
13 namespace chromeos {
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);
22 // Request session manager to restart chrome with a new command line.
23 void RestartChrome(const std::string& command_line);
25 } // namespace chromeos
27 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_CHROME_RESTART_REQUEST_H_