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

Side by Side Diff: components/signin/core/browser/signin_investigator.h

Issue 1651203002: Update components 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 COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INVESTIGATOR_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INVESTIGATOR_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INVESTIGATOR_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INVESTIGATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/prefs/pref_service.h" 11 #include "components/prefs/pref_service.h"
12 12
13 // A Java counterpart will be generated for this enum. 13 // A Java counterpart will be generated for this enum.
14 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.signin 14 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.signin
15 // Broad categorization of signin type from investigation. 15 // Broad categorization of signin type from investigation.
16 enum class InvestigatedScenario : int { 16 enum class InvestigatedScenario : int {
17 // First signin and should not be warned. As little friction as possible 17 // First signin and should not be warned. As little friction as possible
18 // should get between the user and signing in. 18 // should get between the user and signing in.
19 UPGRADE_LOW_RISK = 0, 19 UPGRADE_LOW_RISK = 0,
20 // First signin but should be warned. There is a reason to believe this signin 20 // First signin but should be warned. There is a reason to believe this signin
21 // may not be what the user wanted. 21 // may not be what the user wanted.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 std::string current_email_; 73 std::string current_email_;
74 std::string current_id_; 74 std::string current_id_;
75 75
76 // Non-owning pointer. 76 // Non-owning pointer.
77 DependencyProvider* provider_; 77 DependencyProvider* provider_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(SigninInvestigator); 79 DISALLOW_COPY_AND_ASSIGN(SigninInvestigator);
80 }; 80 };
81 81
82 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INVESTIGATOR_H_ 82 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INVESTIGATOR_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/signin_client.cc ('k') | components/signin/core/browser/signin_investigator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698