OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 // Whether the user is currently operating in an off-the-record context. | 370 // Whether the user is currently operating in an off-the-record context. |
371 // Default value is false. | 371 // Default value is false. |
372 bool is_off_the_record_; | 372 bool is_off_the_record_; |
373 | 373 |
374 // Whether we have already logged the number of profiles this session. | 374 // Whether we have already logged the number of profiles this session. |
375 mutable bool has_logged_profile_count_; | 375 mutable bool has_logged_profile_count_; |
376 | 376 |
377 // An observer to listen for changes to prefs::kAutofillEnabled. | 377 // An observer to listen for changes to prefs::kAutofillEnabled. |
378 scoped_ptr<BooleanPrefMember> enabled_pref_; | 378 scoped_ptr<BooleanPrefMember> enabled_pref_; |
379 | 379 |
| 380 // An observer to listen for changes to prefs::kAutofillWalletImportEnabled. |
| 381 scoped_ptr<BooleanPrefMember> wallet_enabled_pref_; |
| 382 |
380 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); | 383 DISALLOW_COPY_AND_ASSIGN(PersonalDataManager); |
381 }; | 384 }; |
382 | 385 |
383 } // namespace autofill | 386 } // namespace autofill |
384 | 387 |
385 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ | 388 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PERSONAL_DATA_MANAGER_H_ |
OLD | NEW |