| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |