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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "components/signin/core/browser/signin_tracker.h"
13 class SigninTrackerFactory
{
15 virtual ~SigninTrackerFactory();
17 // Creates a SigninTracker instance that tracks signin for |profile| on
18 // behalf of |observer|.
19 static scoped_ptr
<SigninTracker
> CreateForProfile(
21 SigninTracker::Observer
* observer
);
24 SigninTrackerFactory();
26 DISALLOW_COPY_AND_ASSIGN(SigninTrackerFactory
);
29 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_