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

Unified Diff: components/update_client/action_update_check.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years 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
« no previous file with comments | « components/undo/undo_manager.cc ('k') | components/update_client/component_unpacker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/action_update_check.cc
diff --git a/components/update_client/action_update_check.cc b/components/update_client/action_update_check.cc
index 1f1422997794f9293fdab7c304a9ec5bec7668d7..deb250f3964ab286990ae7cca85346e839d387a1 100644
--- a/components/update_client/action_update_check.cc
+++ b/components/update_client/action_update_check.cc
@@ -5,6 +5,7 @@
#include "components/update_client/action_update_check.h"
#include <stddef.h>
+#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -39,10 +40,9 @@ ActionUpdateCheck::ActionUpdateCheck(
scoped_ptr<UpdateChecker> update_checker,
const base::Version& browser_version,
const std::string& extra_request_parameters)
- : update_checker_(update_checker.Pass()),
+ : update_checker_(std::move(update_checker)),
browser_version_(browser_version),
- extra_request_parameters_(extra_request_parameters) {
-}
+ extra_request_parameters_(extra_request_parameters) {}
ActionUpdateCheck::~ActionUpdateCheck() {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « components/undo/undo_manager.cc ('k') | components/update_client/component_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698