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

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

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_ 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "components/signin/core/browser/signin_tracker.h" 10 #include "components/signin/core/browser/signin_tracker.h"
10 11
11 class Profile; 12 class Profile;
12 13
13 class SigninTrackerFactory { 14 class SigninTrackerFactory {
14 public: 15 public:
15 virtual ~SigninTrackerFactory(); 16 virtual ~SigninTrackerFactory();
16 17
17 // Creates a SigninTracker instance that tracks signin for |profile| on 18 // Creates a SigninTracker instance that tracks signin for |profile| on
18 // behalf of |observer|. 19 // behalf of |observer|.
19 static scoped_ptr<SigninTracker> CreateForProfile( 20 static scoped_ptr<SigninTracker> CreateForProfile(
20 Profile* profile, 21 Profile* profile,
21 SigninTracker::Observer* observer); 22 SigninTracker::Observer* observer);
22 23
23 private: 24 private:
24 SigninTrackerFactory(); 25 SigninTrackerFactory();
25 26
26 DISALLOW_COPY_AND_ASSIGN(SigninTrackerFactory); 27 DISALLOW_COPY_AND_ASSIGN(SigninTrackerFactory);
27 }; 28 };
28 29
29 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_ 30 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_TRACKER_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_status_metrics_provider_chromeos.h ('k') | chrome/browser/signin/signin_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698