OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/login/chrome_restart_request.h" | 5 #include "chrome/browser/chromeos/login/chrome_restart_request.h" |
6 | 6 |
7 #include <sys/socket.h> | 7 #include <sys/socket.h> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/common/ash_switches.h" | 10 #include "ash/ash_switches.h" |
11 #include "base/base_switches.h" | 11 #include "base/base_switches.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
16 #include "base/process/launch.h" | 16 #include "base/process/launch.h" |
17 #include "base/strings/string_split.h" | 17 #include "base/strings/string_split.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
20 #include "base/timer/timer.h" | 20 #include "base/timer/timer.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // Relaunch chrome without session manager on dev box. | 392 // Relaunch chrome without session manager on dev box. |
393 ReLaunch(command_line); | 393 ReLaunch(command_line); |
394 return; | 394 return; |
395 } | 395 } |
396 | 396 |
397 // ChromeRestartRequest deletes itself after request sent to session manager. | 397 // ChromeRestartRequest deletes itself after request sent to session manager. |
398 (new ChromeRestartRequest(command_line.argv()))->Start(); | 398 (new ChromeRestartRequest(command_line.argv()))->Start(); |
399 } | 399 } |
400 | 400 |
401 } // namespace chromeos | 401 } // namespace chromeos |
OLD | NEW |