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

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

Issue 949323002: Collecting UMA metrics for the UnmaskPrompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving collection to CardUnmaskPromptControllerImpl. Created 5 years, 9 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_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/ui/autofill/card_unmask_prompt_controller.h" 10 #include "chrome/browser/ui/autofill/card_unmask_prompt_controller.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 CardUnmaskPromptView* view() { return card_unmask_view_; } 51 CardUnmaskPromptView* view() { return card_unmask_view_; }
52 52
53 private: 53 private:
54 void LoadRiskFingerprint(); 54 void LoadRiskFingerprint();
55 55
56 content::WebContents* web_contents_; 56 content::WebContents* web_contents_;
57 CreditCard card_; 57 CreditCard card_;
58 base::WeakPtr<CardUnmaskDelegate> delegate_; 58 base::WeakPtr<CardUnmaskDelegate> delegate_;
59 CardUnmaskPromptView* card_unmask_view_; 59 CardUnmaskPromptView* card_unmask_view_;
60 60
61 bool unmasking_success_;
62 bool unmasking_initial_should_store_pan_;
63 int unmasking_number_of_attempts_;
64
61 CardUnmaskDelegate::UnmaskResponse pending_response_; 65 CardUnmaskDelegate::UnmaskResponse pending_response_;
62 66
63 base::WeakPtrFactory<CardUnmaskPromptControllerImpl> weak_pointer_factory_; 67 base::WeakPtrFactory<CardUnmaskPromptControllerImpl> weak_pointer_factory_;
64 68
65 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptControllerImpl); 69 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptControllerImpl);
66 }; 70 };
67 71
68 } // namespace autofill 72 } // namespace autofill
69 73
70 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_ 74 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698