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

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

Issue 873583007: Add OAuth2 token to RealPanRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ) Created 5 years, 11 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 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 private: 224 private:
225 // AutofillDownloadManager::Observer: 225 // AutofillDownloadManager::Observer:
226 void OnLoadedServerPredictions(const std::string& response_xml) override; 226 void OnLoadedServerPredictions(const std::string& response_xml) override;
227 227
228 // CardUnmaskDelegate: 228 // CardUnmaskDelegate:
229 void OnUnmaskResponse(const base::string16& cvc) override; 229 void OnUnmaskResponse(const base::string16& cvc) override;
230 void OnUnmaskPromptClosed() override; 230 void OnUnmaskPromptClosed() override;
231 231
232 // wallet::RealPanWalletClient::Delegate: 232 // wallet::RealPanWalletClient::Delegate:
233 IdentityProvider* GetIdentityProvider() override;
233 void OnDidGetRealPan(const std::string& real_pan) override; 234 void OnDidGetRealPan(const std::string& real_pan) override;
234 std::string GetOAuth2Token() override;
235 235
236 // A toy method called when the (fake) unmasking process has finished. 236 // A toy method called when the (fake) unmasking process has finished.
237 void OnUnmaskVerificationResult(bool success); 237 void OnUnmaskVerificationResult(bool success);
238 238
239 // Returns false if Autofill is disabled or if no Autofill data is available. 239 // Returns false if Autofill is disabled or if no Autofill data is available.
240 bool RefreshDataModels() const; 240 bool RefreshDataModels() const;
241 241
242 // Unpacks |unique_id| and fills |form_group| and |variant| with the 242 // Unpacks |unique_id| and fills |form_group| and |variant| with the
243 // appropriate data source and variant index. Sets |is_credit_card| to true 243 // appropriate data source and variant index. Sets |is_credit_card| to true
244 // if |data_model| points to a CreditCard data model, false if it's a 244 // if |data_model| points to a CreditCard data model, false if it's a
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 416 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
417 AutocompleteOffRespected); 417 AutocompleteOffRespected);
418 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 418 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
419 AutocompleteOffRespectedWithFlag); 419 AutocompleteOffRespectedWithFlag);
420 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 420 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
421 }; 421 };
422 422
423 } // namespace autofill 423 } // namespace autofill
424 424
425 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_ 425 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_client.h ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698