OLD | NEW |
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 CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ |
6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // The URL of the invoking site. | 87 // The URL of the invoking site. |
88 GURL source_url_; | 88 GURL source_url_; |
89 | 89 |
90 // The callback via which we return the collected data. | 90 // The callback via which we return the collected data. |
91 AutofillClient::ResultCallback callback_; | 91 AutofillClient::ResultCallback callback_; |
92 | 92 |
93 // Whether |form_structure_| has asked for any details that would indicate | 93 // Whether |form_structure_| has asked for any details that would indicate |
94 // we should show a shipping section. | 94 // we should show a shipping section. |
95 bool cares_about_shipping_; | 95 bool cares_about_shipping_; |
96 | 96 |
97 base::WeakPtrFactory<AutofillDialogControllerAndroid> | |
98 weak_ptr_factory_; | |
99 | |
100 // Whether the latency to display to the UI was logged to UMA yet. | 97 // Whether the latency to display to the UI was logged to UMA yet. |
101 bool was_ui_latency_logged_; | 98 bool was_ui_latency_logged_; |
102 | 99 |
103 // The corresponding java object. | 100 // The corresponding java object. |
104 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 101 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
105 | 102 |
| 103 base::WeakPtrFactory<AutofillDialogControllerAndroid> |
| 104 weak_ptr_factory_; |
| 105 |
106 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); | 106 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace autofill | 109 } // namespace autofill |
110 | 110 |
111 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID
_H_ | 111 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID
_H_ |
OLD | NEW |