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/printing/cloud_print/cloud_print_proxy_service.h" | 5 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <stack> | 9 #include <stack> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
12 #include "base/command_line.h" | 14 #include "base/command_line.h" |
13 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
14 #include "base/json/json_reader.h" | 16 #include "base/json/json_reader.h" |
15 #include "base/location.h" | 17 #include "base/location.h" |
16 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 206 } |
205 | 207 |
206 bool CloudPrintProxyService::InvokeServiceTask(const base::Closure& task) { | 208 bool CloudPrintProxyService::InvokeServiceTask(const base::Closure& task) { |
207 GetServiceProcessControl()->Launch(task, base::Closure()); | 209 GetServiceProcessControl()->Launch(task, base::Closure()); |
208 return true; | 210 return true; |
209 } | 211 } |
210 | 212 |
211 ServiceProcessControl* CloudPrintProxyService::GetServiceProcessControl() { | 213 ServiceProcessControl* CloudPrintProxyService::GetServiceProcessControl() { |
212 return ServiceProcessControl::GetInstance(); | 214 return ServiceProcessControl::GetInstance(); |
213 } | 215 } |
OLD | NEW |