| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/component_updater/component_patcher_operation_out_of_pr
ocess.h" | 5 #include "chrome/browser/component_updater/component_patcher_operation_out_of_pr
ocess.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "chrome/browser/component_updater/component_updater_service.h" | |
| 11 #include "chrome/common/chrome_utility_messages.h" | 10 #include "chrome/common/chrome_utility_messages.h" |
| 11 #include "components/component_updater/component_updater_service.h" |
| 12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 13 #include "content/public/browser/utility_process_host.h" | 13 #include "content/public/browser/utility_process_host.h" |
| 14 #include "content/public/browser/utility_process_host_client.h" | 14 #include "content/public/browser/utility_process_host_client.h" |
| 15 #include "courgette/courgette.h" | 15 #include "courgette/courgette.h" |
| 16 #include "courgette/third_party/bsdiff.h" | 16 #include "courgette/third_party/bsdiff.h" |
| 17 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
| 18 | 18 |
| 19 namespace component_updater { | 19 namespace component_updater { |
| 20 | 20 |
| 21 class PatchHost : public content::UtilityProcessHostClient { | 21 class PatchHost : public content::UtilityProcessHostClient { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 | 102 |
| 103 content::BrowserThread::PostTask( | 103 content::BrowserThread::PostTask( |
| 104 content::BrowserThread::IO, | 104 content::BrowserThread::IO, |
| 105 FROM_HERE, | 105 FROM_HERE, |
| 106 base::Bind( | 106 base::Bind( |
| 107 &PatchHost::StartProcess, host_, base::Passed(&patch_message))); | 107 &PatchHost::StartProcess, host_, base::Passed(&patch_message))); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace component_updater | 110 } // namespace component_updater |
| OLD | NEW |