Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc

Issue 2873513002: Fix dependencies on OutOfProcessPatcher. (Closed)
Patch Set: fixed one more dep. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
diff --git a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
index 84baa7bd97584baed5585647cabfce928fa1b330..bf3039645fec796ed864b221cf1142993e2043e5 100644
--- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
+++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc
@@ -10,7 +10,7 @@
#include "base/threading/sequenced_worker_pool.h"
#include "base/version.h"
#include "components/component_updater/configurator_impl.h"
-#include "components/update_client/component_patcher_operation.h"
+#include "components/update_client/out_of_process_patcher.h"
#include "components/update_client/update_query_params.h"
#include "ios/chrome/browser/application_context.h"
#include "ios/chrome/browser/google/google_brand.h"
@@ -174,7 +174,7 @@ bool IOSConfigurator::IsPerUserInstall() const {
scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator(
const base::CommandLine* cmdline,
net::URLRequestContextGetter* context_getter) {
- return new IOSConfigurator(cmdline, context_getter);
+ return base::MakeRefCounted<IOSConfigurator>(cmdline, context_getter);
sdefresne 2017/05/09 08:23:12 MakeRefCounter -> MakeShared
Sorin Jianu 2017/05/09 17:30:09 Done.
}
} // namespace component_updater
« components/update_client/out_of_process_patcher.h ('K') | « components/update_client/update_engine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698