| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/system/input_device_settings.h" | 5 #include "chrome/browser/chromeos/system/input_device_settings.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 void InputDeviceSettings::SetSettingsForTesting( | 421 void InputDeviceSettings::SetSettingsForTesting( |
| 422 InputDeviceSettings* test_settings) { | 422 InputDeviceSettings* test_settings) { |
| 423 if (g_test_instance_ == test_settings) | 423 if (g_test_instance_ == test_settings) |
| 424 return; | 424 return; |
| 425 delete g_test_instance_; | 425 delete g_test_instance_; |
| 426 g_test_instance_ = test_settings; | 426 g_test_instance_ = test_settings; |
| 427 } | 427 } |
| 428 | 428 |
| 429 } // namespace system | 429 } // namespace system |
| 430 } // namespace chromeos | 430 } // namespace chromeos |
| OLD | NEW |