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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_INVESTIGATOR_DEPENDENCY_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_SIGNIN_INVESTIGATOR_DEPENDENCY_PROVIDER_H_
6 #define CHROME_BROWSER_SIGNIN_INVESTIGATOR_DEPENDENCY_PROVIDER_H_ 6 #define CHROME_BROWSER_SIGNIN_INVESTIGATOR_DEPENDENCY_PROVIDER_H_
7 7
8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "components/prefs/pref_service.h"
10 #include "components/signin/core/browser/signin_investigator.h" 10 #include "components/signin/core/browser/signin_investigator.h"
11 11
12 // This version should work for anything with a profile object, like desktop and 12 // This version should work for anything with a profile object, like desktop and
13 // Android. 13 // Android.
14 class InvestigatorDependencyProvider 14 class InvestigatorDependencyProvider
15 : public SigninInvestigator::DependencyProvider { 15 : public SigninInvestigator::DependencyProvider {
16 public: 16 public:
17 explicit InvestigatorDependencyProvider(Profile* profile); 17 explicit InvestigatorDependencyProvider(Profile* profile);
18 ~InvestigatorDependencyProvider() override; 18 ~InvestigatorDependencyProvider() override;
19 PrefService* GetPrefs() override; 19 PrefService* GetPrefs() override;
20 20
21 private: 21 private:
22 // Non-owning pointer. 22 // Non-owning pointer.
23 Profile* profile_; 23 Profile* profile_;
24 DISALLOW_COPY_AND_ASSIGN(InvestigatorDependencyProvider); 24 DISALLOW_COPY_AND_ASSIGN(InvestigatorDependencyProvider);
25 }; 25 };
26 26
27 #endif // CHROME_BROWSER_SIGNIN_INVESTIGATOR_DEPENDENCY_PROVIDER_H_ 27 #endif // CHROME_BROWSER_SIGNIN_INVESTIGATOR_DEPENDENCY_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | chrome/browser/signin/local_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698