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/system/chromeos/devicetype_utils.h" |
8 #include "base/json/json_reader.h" | 8 #include "base/json/json_reader.h" |
9 #include "base/json/json_writer.h" | 9 #include "base/json/json_writer.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/grit/generated_resources.h" | 13 #include "chrome/grit/generated_resources.h" |
14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
15 #include "ui/base/webui/web_ui_util.h" | 15 #include "ui/base/webui/web_ui_util.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 const char kAction[] = "action"; | 18 const char kAction[] = "action"; |
19 const char kCode[] = "code"; | 19 const char kCode[] = "code"; |
20 const char kStatus[] = "status"; | 20 const char kStatus[] = "status"; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 arc_auth_service->CancelAuthCode(); | 162 arc_auth_service->CancelAuthCode(); |
163 } else { | 163 } else { |
164 NOTREACHED(); | 164 NOTREACHED(); |
165 } | 165 } |
166 } | 166 } |
167 | 167 |
168 scoped_refptr<base::SingleThreadTaskRunner> ArcSupportHost::task_runner() | 168 scoped_refptr<base::SingleThreadTaskRunner> ArcSupportHost::task_runner() |
169 const { | 169 const { |
170 return base::ThreadTaskRunnerHandle::Get(); | 170 return base::ThreadTaskRunnerHandle::Get(); |
171 } | 171 } |
OLD | NEW |