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

Side by Side Diff: chrome/browser/autofill/android/personal_data_manager_android.h

Issue 885283009: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/browser_process_platform_part_android.h » ('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_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
6 #define CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_ 6 #define CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
7 7
8 #include "base/android/jni_weak_ref.h" 8 #include "base/android/jni_weak_ref.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "components/autofill/core/browser/personal_data_manager.h" 10 #include "components/autofill/core/browser/personal_data_manager.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 JNIEnv* env, 81 JNIEnv* env,
82 jobject unused_obj); 82 jobject unused_obj);
83 83
84 // Removes the profile or credit card represented by |jguid|. 84 // Removes the profile or credit card represented by |jguid|.
85 void RemoveByGUID(JNIEnv* env, jobject unused_obj, jstring jguid); 85 void RemoveByGUID(JNIEnv* env, jobject unused_obj, jstring jguid);
86 86
87 // Rests all unmasked cards back to the masked state. 87 // Rests all unmasked cards back to the masked state.
88 void ClearUnmaskedCache(JNIEnv* env, jobject unused_obj); 88 void ClearUnmaskedCache(JNIEnv* env, jobject unused_obj);
89 89
90 // PersonalDataManagerObserver: 90 // PersonalDataManagerObserver:
91 virtual void OnPersonalDataChanged() override; 91 void OnPersonalDataChanged() override;
92 92
93 // Registers the JNI bindings for this class. 93 // Registers the JNI bindings for this class.
94 static bool Register(JNIEnv* env); 94 static bool Register(JNIEnv* env);
95 95
96 private: 96 private:
97 virtual ~PersonalDataManagerAndroid(); 97 ~PersonalDataManagerAndroid() override;
98 98
99 // Pointer to the java counterpart. 99 // Pointer to the java counterpart.
100 JavaObjectWeakGlobalRef weak_java_obj_; 100 JavaObjectWeakGlobalRef weak_java_obj_;
101 101
102 // Pointer to the PersonalDataManager for the main profile. 102 // Pointer to the PersonalDataManager for the main profile.
103 PersonalDataManager* personal_data_manager_; 103 PersonalDataManager* personal_data_manager_;
104 104
105 DISALLOW_COPY_AND_ASSIGN(PersonalDataManagerAndroid); 105 DISALLOW_COPY_AND_ASSIGN(PersonalDataManagerAndroid);
106 }; 106 };
107 107
108 } // namespace autofill 108 } // namespace autofill
109 109
110 #endif // CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_ 110 #endif // CHROME_BROWSER_AUTOFILL_ANDROID_PERSONAL_DATA_MANAGER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_platform_part_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698