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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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
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>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "ui/base/window_open_disposition.h" 17 #include "ui/base/window_open_disposition.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 class GURL; 20 class GURL;
21 class IdentityProvider; 21 class IdentityProvider;
22 class PrefService; 22 class PrefService;
23 23
24 namespace content { 24 namespace content {
25 class RenderFrameHost; 25 class RenderFrameHost;
26 } 26 }
27 27
28 namespace gfx { 28 namespace gfx {
29 class Rect;
30 class RectF; 29 class RectF;
31 } 30 }
32 31
33 namespace rappor { 32 namespace rappor {
34 class RapporService; 33 class RapporService;
35 } 34 }
36 35
37 namespace syncer { 36 namespace syncer {
38 class SyncService; 37 class SyncService;
39 } 38 }
40 39
41 namespace autofill { 40 namespace autofill {
42 41
43 class AutofillPopupDelegate; 42 class AutofillPopupDelegate;
44 class AutofillWebDataService; 43 class AutofillWebDataService;
45 class CardUnmaskDelegate; 44 class CardUnmaskDelegate;
46 class CreditCard; 45 class CreditCard;
47 class FormStructure; 46 class FormStructure;
48 class PersonalDataManager; 47 class PersonalDataManager;
49 struct FormData;
50 struct Suggestion; 48 struct Suggestion;
51 49
52 // A client interface that needs to be supplied to the Autofill component by the 50 // A client interface that needs to be supplied to the Autofill component by the
53 // embedder. 51 // embedder.
54 // 52 //
55 // Each client instance is associated with a given context within which an 53 // Each client instance is associated with a given context within which an
56 // AutofillManager is used (e.g. a single tab), so when we say "for the client" 54 // AutofillManager is used (e.g. a single tab), so when we say "for the client"
57 // below, we mean "in the execution context the client is associated with" (e.g. 55 // below, we mean "in the execution context the client is associated with" (e.g.
58 // for the tab the AutofillManager is attached to). 56 // for the tab the AutofillManager is attached to).
59 class AutofillClient { 57 class AutofillClient {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 virtual bool ShouldShowSigninPromo() = 0; 187 virtual bool ShouldShowSigninPromo() = 0;
190 188
191 // Starts the signin flow. Should not be called if ShouldShowSigninPromo() 189 // Starts the signin flow. Should not be called if ShouldShowSigninPromo()
192 // returns false. 190 // returns false.
193 virtual void StartSigninFlow() = 0; 191 virtual void StartSigninFlow() = 0;
194 }; 192 };
195 193
196 } // namespace autofill 194 } // namespace autofill
197 195
198 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ 196 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698