| 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 "chromeos/system/statistics_provider.h" | 5 #include "chromeos/system/statistics_provider.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/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
| 13 #include "base/path_service.h" | |
| 14 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/synchronization/cancellation_flag.h" | 14 #include "base/synchronization/cancellation_flag.h" |
| 16 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
| 17 #include "base/sys_info.h" | 16 #include "base/sys_info.h" |
| 18 #include "base/task_runner.h" | 17 #include "base/task_runner.h" |
| 19 #include "base/threading/thread_restrictions.h" | 18 #include "base/threading/thread_restrictions.h" |
| 20 #include "base/time/time.h" | 19 #include "base/time/time.h" |
| 21 #include "chromeos/app_mode/kiosk_oem_manifest_parser.h" | 20 #include "chromeos/app_mode/kiosk_oem_manifest_parser.h" |
| 22 #include "chromeos/chromeos_constants.h" | 21 #include "chromeos/chromeos_constants.h" |
| 23 #include "chromeos/chromeos_switches.h" | 22 #include "chromeos/chromeos_switches.h" |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 return StatisticsProviderImpl::GetInstance(); | 335 return StatisticsProviderImpl::GetInstance(); |
| 337 } | 336 } |
| 338 | 337 |
| 339 // static | 338 // static |
| 340 void StatisticsProvider::SetTestProvider(StatisticsProvider* test_provider) { | 339 void StatisticsProvider::SetTestProvider(StatisticsProvider* test_provider) { |
| 341 g_test_statistics_provider = test_provider; | 340 g_test_statistics_provider = test_provider; |
| 342 } | 341 } |
| 343 | 342 |
| 344 } // namespace system | 343 } // namespace system |
| 345 } // namespace chromeos | 344 } // namespace chromeos |
| OLD | NEW |