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

Side by Side Diff: chrome/browser/signin/signin_tracker_factory.cc

Issue 1997453003: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move changes in and out to fix compile Created 4 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 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/signin/signin_tracker_factory.h" 5 #include "chrome/browser/signin/signin_tracker_factory.h"
6 6
7 #include "chrome/browser/signin/chrome_signin_client_factory.h"
8 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h" 7 #include "chrome/browser/signin/gaia_cookie_manager_service_factory.h"
9 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 8 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
10 #include "chrome/browser/signin/signin_manager_factory.h" 9 #include "chrome/browser/signin/signin_manager_factory.h"
11 #include "components/signin/core/common/profile_management_switches.h" 10 #include "components/signin/core/common/profile_management_switches.h"
12 11
13 SigninTrackerFactory::SigninTrackerFactory() {} 12 SigninTrackerFactory::SigninTrackerFactory() {}
14 SigninTrackerFactory::~SigninTrackerFactory() {} 13 SigninTrackerFactory::~SigninTrackerFactory() {}
15 14
16 // static 15 // static
17 std::unique_ptr<SigninTracker> SigninTrackerFactory::CreateForProfile( 16 std::unique_ptr<SigninTracker> SigninTrackerFactory::CreateForProfile(
18 Profile* profile, 17 Profile* profile,
19 SigninTracker::Observer* observer) { 18 SigninTracker::Observer* observer) {
20 return std::unique_ptr<SigninTracker>(new SigninTracker( 19 return std::unique_ptr<SigninTracker>(new SigninTracker(
21 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), 20 ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
22 SigninManagerFactory::GetForProfile(profile), 21 SigninManagerFactory::GetForProfile(profile),
23 GaiaCookieManagerServiceFactory::GetForProfile(profile), 22 GaiaCookieManagerServiceFactory::GetForProfile(profile), observer));
24 ChromeSigninClientFactory::GetForProfile(profile), observer));
25 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698