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

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

Issue 2893943004: Refactor UKM interface for mojo-ification (Closed)
Patch Set: Fixed contextualsearch Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CLIENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 20 matching lines...) Expand all
31 31
32 namespace rappor { 32 namespace rappor {
33 class RapporServiceImpl; 33 class RapporServiceImpl;
34 } 34 }
35 35
36 namespace syncer { 36 namespace syncer {
37 class SyncService; 37 class SyncService;
38 } 38 }
39 39
40 namespace ukm { 40 namespace ukm {
41 class UkmService; 41 class UkmRecorder;
42 } 42 }
43 43
44 namespace autofill { 44 namespace autofill {
45 45
46 class AutofillPopupDelegate; 46 class AutofillPopupDelegate;
47 class AutofillWebDataService; 47 class AutofillWebDataService;
48 class CardUnmaskDelegate; 48 class CardUnmaskDelegate;
49 class CreditCard; 49 class CreditCard;
50 class FormStructure; 50 class FormStructure;
51 class PersonalDataManager; 51 class PersonalDataManager;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Gets the sync service associated with the client. 105 // Gets the sync service associated with the client.
106 virtual syncer::SyncService* GetSyncService() = 0; 106 virtual syncer::SyncService* GetSyncService() = 0;
107 107
108 // Gets the IdentityProvider associated with the client (for OAuth2). 108 // Gets the IdentityProvider associated with the client (for OAuth2).
109 virtual IdentityProvider* GetIdentityProvider() = 0; 109 virtual IdentityProvider* GetIdentityProvider() = 0;
110 110
111 // Gets the RapporServiceImpl associated with the client (for metrics). 111 // Gets the RapporServiceImpl associated with the client (for metrics).
112 virtual rappor::RapporServiceImpl* GetRapporServiceImpl() = 0; 112 virtual rappor::RapporServiceImpl* GetRapporServiceImpl() = 0;
113 113
114 // Gets the UKM service associated with this client (for metrics). 114 // Gets the UKM service associated with this client (for metrics).
115 virtual ukm::UkmService* GetUkmService() = 0; 115 virtual ukm::UkmRecorder* GetUkmRecorder() = 0;
116 116
117 // Gets the SaveCardBubbleController instance associated with the client. 117 // Gets the SaveCardBubbleController instance associated with the client.
118 // May return nullptr if the save card bubble has not been shown yet. 118 // May return nullptr if the save card bubble has not been shown yet.
119 virtual SaveCardBubbleController* GetSaveCardBubbleController() = 0; 119 virtual SaveCardBubbleController* GetSaveCardBubbleController() = 0;
120 120
121 // Causes the Autofill settings UI to be shown. 121 // Causes the Autofill settings UI to be shown.
122 virtual void ShowAutofillSettings() = 0; 122 virtual void ShowAutofillSettings() = 0;
123 123
124 // A user has attempted to use a masked card. Prompt them for further 124 // A user has attempted to use a masked card. Prompt them for further
125 // information to proceed. 125 // information to proceed.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 // returns false. 197 // returns false.
198 virtual void StartSigninFlow() = 0; 198 virtual void StartSigninFlow() = 0;
199 199
200 // Shows the explanation of http not secure warning message. 200 // Shows the explanation of http not secure warning message.
201 virtual void ShowHttpNotSecureExplanation() = 0; 201 virtual void ShowHttpNotSecureExplanation() = 0;
202 }; 202 };
203 203
204 } // namespace autofill 204 } // namespace autofill
205 205
206 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 206 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698