| 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 <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/path_service.h" | |
| 13 #include "base/prefs/json_pref_store.h" | 12 #include "base/prefs/json_pref_store.h" |
| 14 #include "base/prefs/pref_service.h" | 13 #include "base/prefs/pref_service.h" |
| 15 #include "base/process/launch.h" | 14 #include "base/process/launch.h" |
| 16 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
| 17 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
| 18 #include "base/sys_info.h" | 17 #include "base/sys_info.h" |
| 19 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
| 20 #include "base/values.h" | 19 #include "base/values.h" |
| 21 #include "cc/base/switches.h" | 20 #include "cc/base/switches.h" |
| 22 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 // Relaunch chrome without session manager on dev box. | 375 // Relaunch chrome without session manager on dev box. |
| 377 ReLaunch(command_line); | 376 ReLaunch(command_line); |
| 378 return; | 377 return; |
| 379 } | 378 } |
| 380 | 379 |
| 381 // ChromeRestartRequest deletes itself after request sent to session manager. | 380 // ChromeRestartRequest deletes itself after request sent to session manager. |
| 382 (new ChromeRestartRequest(command_line))->Start(); | 381 (new ChromeRestartRequest(command_line))->Start(); |
| 383 } | 382 } |
| 384 | 383 |
| 385 } // namespace chromeos | 384 } // namespace chromeos |
| OLD | NEW |