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

Unified Diff: chrome/browser/profile_resetter/brandcode_config_fetcher.h

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/profile_resetter/brandcode_config_fetcher.h
diff --git a/chrome/browser/profile_resetter/brandcode_config_fetcher.h b/chrome/browser/profile_resetter/brandcode_config_fetcher.h
index 356ebf43be99591194272d2ed4e18fd925072054..93805cacf9cac4d998e3ac4a5c33e62e77cc4d93 100644
--- a/chrome/browser/profile_resetter/brandcode_config_fetcher.h
+++ b/chrome/browser/profile_resetter/brandcode_config_fetcher.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_
#define CHROME_BROWSER_PROFILE_RESETTER_BRANDCODE_CONFIG_FETCHER_H_
+#include <utility>
+
#include "base/callback.h"
#include "base/macros.h"
#include "base/timer/timer.h"
@@ -27,7 +29,7 @@ class BrandcodeConfigFetcher : public net::URLFetcherDelegate {
bool IsActive() const { return config_fetcher_; }
scoped_ptr<BrandcodedDefaultSettings> GetSettings() {
- return default_settings_.Pass();
+ return std::move(default_settings_);
}
// Sets the new callback. The previous one won't be called.

Powered by Google App Engine
This is Rietveld 408576698