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

Side by Side Diff: chrome/browser/supervised_user/legacy/supervised_user_refresh_token_fetcher.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
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/supervised_user/legacy/supervised_user_refresh_token_fe tcher.h" 5 #include "chrome/browser/supervised_user/legacy/supervised_user_refresh_token_fe tcher.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 SupervisedUserRefreshTokenFetcher::Create( 293 SupervisedUserRefreshTokenFetcher::Create(
294 OAuth2TokenService* oauth2_token_service, 294 OAuth2TokenService* oauth2_token_service,
295 const std::string& account_id, 295 const std::string& account_id,
296 const std::string& device_id, 296 const std::string& device_id,
297 URLRequestContextGetter* context) { 297 URLRequestContextGetter* context) {
298 scoped_ptr<SupervisedUserRefreshTokenFetcher> fetcher( 298 scoped_ptr<SupervisedUserRefreshTokenFetcher> fetcher(
299 new SupervisedUserRefreshTokenFetcherImpl(oauth2_token_service, 299 new SupervisedUserRefreshTokenFetcherImpl(oauth2_token_service,
300 account_id, 300 account_id,
301 device_id, 301 device_id,
302 context)); 302 context));
303 return fetcher.Pass(); 303 return fetcher;
304 } 304 }
305 305
306 SupervisedUserRefreshTokenFetcher::~SupervisedUserRefreshTokenFetcher() {} 306 SupervisedUserRefreshTokenFetcher::~SupervisedUserRefreshTokenFetcher() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698