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

Side by Side Diff: chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698