| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/login_utils.h" | 5 #include "chrome/browser/chromeos/login/login_utils.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/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 const GURL& start_url, | 789 const GURL& start_url, |
| 790 const CommandLine& base_command_line, | 790 const CommandLine& base_command_line, |
| 791 CommandLine* command_line) { | 791 CommandLine* command_line) { |
| 792 static const char* kForwardSwitches[] = { | 792 static const char* kForwardSwitches[] = { |
| 793 switches::kEnableLogging, | 793 switches::kEnableLogging, |
| 794 switches::kDisableAcceleratedPlugins, | 794 switches::kDisableAcceleratedPlugins, |
| 795 switches::kUseGL, | 795 switches::kUseGL, |
| 796 switches::kUserDataDir, | 796 switches::kUserDataDir, |
| 797 switches::kScrollPixels, | 797 switches::kScrollPixels, |
| 798 switches::kEnableGView, | 798 switches::kEnableGView, |
| 799 switches::kEnableSensors, |
| 799 switches::kNoFirstRun, | 800 switches::kNoFirstRun, |
| 800 switches::kLoginProfile, | 801 switches::kLoginProfile, |
| 801 switches::kCompressSystemFeedback, | 802 switches::kCompressSystemFeedback, |
| 802 switches::kDisableSeccompSandbox, | 803 switches::kDisableSeccompSandbox, |
| 803 switches::kPpapiFlashInProcess, | 804 switches::kPpapiFlashInProcess, |
| 804 switches::kPpapiFlashPath, | 805 switches::kPpapiFlashPath, |
| 805 switches::kPpapiFlashVersion, | 806 switches::kPpapiFlashVersion, |
| 806 switches::kViewsDesktop, | 807 switches::kViewsDesktop, |
| 807 #if defined(TOUCH_UI) | 808 #if defined(TOUCH_UI) |
| 808 switches::kTouchDevices, | 809 switches::kTouchDevices, |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 // Mark login host for deletion after browser starts. This | 1136 // Mark login host for deletion after browser starts. This |
| 1136 // guarantees that the message loop will be referenced by the | 1137 // guarantees that the message loop will be referenced by the |
| 1137 // browser before it is dereferenced by the login host. | 1138 // browser before it is dereferenced by the login host. |
| 1138 if (login_host) { | 1139 if (login_host) { |
| 1139 login_host->OnSessionStart(); | 1140 login_host->OnSessionStart(); |
| 1140 login_host = NULL; | 1141 login_host = NULL; |
| 1141 } | 1142 } |
| 1142 } | 1143 } |
| 1143 | 1144 |
| 1144 } // namespace chromeos | 1145 } // namespace chromeos |
| OLD | NEW |