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

Side by Side Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/callback.h" 12 #include "base/callback.h"
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "base/i18n/rtl.h" 14 #include "base/i18n/rtl.h"
14 #include "base/macros.h" 15 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
16 #include "components/autofill/core/browser/autofill_client.h" 17 #include "components/autofill/core/browser/autofill_client.h"
17 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller_impl .h" 18 #include "components/autofill/core/browser/ui/card_unmask_prompt_controller_impl .h"
18 #include "components/zoom/zoom_observer.h" 19 #include "components/zoom/zoom_observer.h"
(...skipping 18 matching lines...) Expand all
37 public content::WebContentsUserData<ChromeAutofillClient>, 38 public content::WebContentsUserData<ChromeAutofillClient>,
38 public content::WebContentsObserver, 39 public content::WebContentsObserver,
39 public zoom::ZoomObserver { 40 public zoom::ZoomObserver {
40 public: 41 public:
41 ~ChromeAutofillClient() override; 42 ~ChromeAutofillClient() override;
42 43
43 // AutofillClient: 44 // AutofillClient:
44 PersonalDataManager* GetPersonalDataManager() override; 45 PersonalDataManager* GetPersonalDataManager() override;
45 scoped_refptr<AutofillWebDataService> GetDatabase() override; 46 scoped_refptr<AutofillWebDataService> GetDatabase() override;
46 PrefService* GetPrefs() override; 47 PrefService* GetPrefs() override;
47 sync_driver::SyncService* GetSyncService() override; 48 syncer::SyncService* GetSyncService() override;
48 IdentityProvider* GetIdentityProvider() override; 49 IdentityProvider* GetIdentityProvider() override;
49 rappor::RapporService* GetRapporService() override; 50 rappor::RapporService* GetRapporService() override;
50 void ShowAutofillSettings() override; 51 void ShowAutofillSettings() override;
51 void ShowUnmaskPrompt(const CreditCard& card, 52 void ShowUnmaskPrompt(const CreditCard& card,
52 UnmaskCardReason reason, 53 UnmaskCardReason reason,
53 base::WeakPtr<CardUnmaskDelegate> delegate) override; 54 base::WeakPtr<CardUnmaskDelegate> delegate) override;
54 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; 55 void OnUnmaskVerificationResult(PaymentsRpcResult result) override;
55 void ConfirmSaveCreditCardLocally(const CreditCard& card, 56 void ConfirmSaveCreditCardLocally(const CreditCard& card,
56 const base::Closure& callback) override; 57 const base::Closure& callback) override;
57 void ConfirmSaveCreditCardToCloud( 58 void ConfirmSaveCreditCardToCloud(
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 102
102 // The identity provider, used for Payments integration. 103 // The identity provider, used for Payments integration.
103 std::unique_ptr<IdentityProvider> identity_provider_; 104 std::unique_ptr<IdentityProvider> identity_provider_;
104 105
105 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); 106 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient);
106 }; 107 };
107 108
108 } // namespace autofill 109 } // namespace autofill
109 110
110 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ 111 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/app_sync_ui_state.h ('k') | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698