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

Side by Side Diff: components/autofill/core/browser/autofill_manager.h

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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_AUTOFILL_MANAGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Manages saving and restoring the user's personal information entered into web 69 // Manages saving and restoring the user's personal information entered into web
70 // forms. 70 // forms.
71 class AutofillManager : public AutofillDownloadManager::Observer { 71 class AutofillManager : public AutofillDownloadManager::Observer {
72 public: 72 public:
73 enum AutofillDownloadManagerState { 73 enum AutofillDownloadManagerState {
74 ENABLE_AUTOFILL_DOWNLOAD_MANAGER, 74 ENABLE_AUTOFILL_DOWNLOAD_MANAGER,
75 DISABLE_AUTOFILL_DOWNLOAD_MANAGER, 75 DISABLE_AUTOFILL_DOWNLOAD_MANAGER,
76 }; 76 };
77 77
78 // Registers our Enable/Disable Autofill pref. 78 // Registers our Enable/Disable Autofill pref.
79 static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); 79 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
80 80
81 AutofillManager(AutofillDriver* driver, 81 AutofillManager(AutofillDriver* driver,
82 autofill::AutofillManagerDelegate* delegate, 82 autofill::AutofillManagerDelegate* delegate,
83 const std::string& app_locale, 83 const std::string& app_locale,
84 AutofillDownloadManagerState enable_download_manager); 84 AutofillDownloadManagerState enable_download_manager);
85 virtual ~AutofillManager(); 85 virtual ~AutofillManager();
86 86
87 // Sets an external delegate. 87 // Sets an external delegate.
88 void SetExternalDelegate(AutofillExternalDelegate* delegate); 88 void SetExternalDelegate(AutofillExternalDelegate* delegate);
89 89
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 UserHappinessFormLoadAndSubmission); 403 UserHappinessFormLoadAndSubmission);
404 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 404 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
405 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 405 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
406 FormSubmittedAutocompleteEnabled); 406 FormSubmittedAutocompleteEnabled);
407 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 407 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
408 }; 408 };
409 409
410 } // namespace autofill 410 } // namespace autofill
411 411
412 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 412 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698