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

Side by Side Diff: chrome/browser/autofill/autofill_manager.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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
« no previous file with comments | « chrome/browser/autofill/DEPS ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_AUTOFILL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 18 matching lines...) Expand all
29 #include "content/public/browser/web_contents_observer.h" 29 #include "content/public/browser/web_contents_observer.h"
30 #include "content/public/common/ssl_status.h" 30 #include "content/public/common/ssl_status.h"
31 31
32 class AutofillExternalDelegate; 32 class AutofillExternalDelegate;
33 class AutofillField; 33 class AutofillField;
34 class AutofillProfile; 34 class AutofillProfile;
35 class AutofillMetrics; 35 class AutofillMetrics;
36 class CreditCard; 36 class CreditCard;
37 class FormGroup; 37 class FormGroup;
38 class GURL; 38 class GURL;
39 class PrefService; 39 class PrefServiceSyncable;
40 class ProfileSyncService; 40 class ProfileSyncService;
41 41
42 struct FormData; 42 struct FormData;
43 struct FormFieldData; 43 struct FormFieldData;
44 struct PasswordFormFillData; 44 struct PasswordFormFillData;
45 struct ViewHostMsg_FrameNavigate_Params; 45 struct ViewHostMsg_FrameNavigate_Params;
46 46
47 namespace autofill { 47 namespace autofill {
48 class AutofillManagerDelegate; 48 class AutofillManagerDelegate;
49 class PasswordGenerator; 49 class PasswordGenerator;
(...skipping 20 matching lines...) Expand all
70 public AutofillDownloadManager::Observer, 70 public AutofillDownloadManager::Observer,
71 public ProfileSyncServiceObserver, 71 public ProfileSyncServiceObserver,
72 public base::RefCounted<AutofillManager> { 72 public base::RefCounted<AutofillManager> {
73 public: 73 public:
74 static void CreateForWebContentsAndDelegate( 74 static void CreateForWebContentsAndDelegate(
75 content::WebContents* contents, 75 content::WebContents* contents,
76 autofill::AutofillManagerDelegate* delegate); 76 autofill::AutofillManagerDelegate* delegate);
77 static AutofillManager* FromWebContents(content::WebContents* contents); 77 static AutofillManager* FromWebContents(content::WebContents* contents);
78 78
79 // Registers our Enable/Disable Autofill pref. 79 // Registers our Enable/Disable Autofill pref.
80 static void RegisterUserPrefs(PrefServiceBase* prefs); 80 static void RegisterUserPrefs(PrefServiceSyncable* prefs);
81 81
82 // Set an external delegate. 82 // Set an external delegate.
83 void SetExternalDelegate(AutofillExternalDelegate* delegate); 83 void SetExternalDelegate(AutofillExternalDelegate* delegate);
84 84
85 // Used to say if this class has an external delegate that it is using. 85 // Used to say if this class has an external delegate that it is using.
86 bool HasExternalDelegate(); 86 bool HasExternalDelegate();
87 87
88 // Called from our external delegate so they cannot be private. 88 // Called from our external delegate so they cannot be private.
89 virtual void OnFillAutofillFormData(int query_id, 89 virtual void OnFillAutofillFormData(int query_id,
90 const FormData& form, 90 const FormData& form,
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 393 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
394 TestTabContentsWithExternalDelegate); 394 TestTabContentsWithExternalDelegate);
395 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, 395 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest,
396 UserHappinessFormLoadAndSubmission); 396 UserHappinessFormLoadAndSubmission);
397 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 397 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
398 398
399 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 399 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
400 }; 400 };
401 401
402 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 402 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/DEPS ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698