| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/arc/arc_support_host.h" | 5 #include "chrome/browser/chromeos/arc/arc_support_host.h" |
| 6 | 6 |
| 7 #include "ash/system/chromeos/devicetype_utils.h" | 7 #include "ash/common/system/chromeos/devicetype_utils.h" |
| 8 #include "base/i18n/timezone.h" | 8 #include "base/i18n/timezone.h" |
| 9 #include "base/json/json_reader.h" | 9 #include "base/json/json_reader.h" |
| 10 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
| 11 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 12 #include "base/values.h" | 12 #include "base/values.h" |
| 13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
| 14 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 14 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 15 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" | 15 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" |
| 16 #include "chrome/browser/metrics/metrics_reporting_state.h" | 16 #include "chrome/browser/metrics/metrics_reporting_state.h" |
| 17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 EnableMetrics(); | 245 EnableMetrics(); |
| 246 } else { | 246 } else { |
| 247 NOTREACHED(); | 247 NOTREACHED(); |
| 248 } | 248 } |
| 249 } | 249 } |
| 250 | 250 |
| 251 scoped_refptr<base::SingleThreadTaskRunner> ArcSupportHost::task_runner() | 251 scoped_refptr<base::SingleThreadTaskRunner> ArcSupportHost::task_runner() |
| 252 const { | 252 const { |
| 253 return base::ThreadTaskRunnerHandle::Get(); | 253 return base::ThreadTaskRunnerHandle::Get(); |
| 254 } | 254 } |
| OLD | NEW |