Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / signin / signin_tracker_factory.h
blobb0f7bd555d600820b4111282a725d6d9d48cfc71
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"
11 class Profile;
13 class SigninTrackerFactory {
14 public:
15 virtual ~SigninTrackerFactory();
17 // Creates a SigninTracker instance that tracks signin for |profile| on
18 // behalf of |observer|.
19 static scoped_ptr<SigninTracker> CreateForProfile(
20 Profile* profile,
21 SigninTracker::Observer* observer);
23 private:
24 SigninTrackerFactory();
26 DISALLOW_COPY_AND_ASSIGN(SigninTrackerFactory);
29 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_