OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <stack> | 7 #include <stack> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 } | 174 } |
175 | 175 |
176 bool CloudPrintProxyService::InvokeServiceTask(Task* task) { | 176 bool CloudPrintProxyService::InvokeServiceTask(Task* task) { |
177 ServiceProcessControl* process_control = | 177 ServiceProcessControl* process_control = |
178 ServiceProcessControlManager::instance()->GetProcessControl(profile_); | 178 ServiceProcessControlManager::instance()->GetProcessControl(profile_); |
179 DCHECK(process_control); | 179 DCHECK(process_control); |
180 if (process_control) | 180 if (process_control) |
181 process_control->Launch(task, NULL); | 181 process_control->Launch(task, NULL); |
182 return !!process_control; | 182 return !!process_control; |
183 } | 183 } |
184 | |
OLD | NEW |