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

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

Issue 301343002: mac: Clean up autofill integration with Address Book. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill_cleanup2_base
Patch Set: Autofill test failures on Android. Undo a change to autofill_test_utils.cc. Created 6 years, 6 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_EXTERNAL_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // Insert the data list values at the start of the given list, including 110 // Insert the data list values at the start of the given list, including
111 // any required separators. 111 // any required separators.
112 void InsertDataListValues(std::vector<base::string16>* values, 112 void InsertDataListValues(std::vector<base::string16>* values,
113 std::vector<base::string16>* labels, 113 std::vector<base::string16>* labels,
114 std::vector<base::string16>* icons, 114 std::vector<base::string16>* icons,
115 std::vector<int>* unique_ids); 115 std::vector<int>* unique_ids);
116 116
117 #if defined(OS_MACOSX) && !defined(OS_IOS) 117 #if defined(OS_MACOSX) && !defined(OS_IOS)
118 // Pings the renderer. 118 // Pings the renderer.
119 void PingRenderer(); 119 void PingRenderer();
120 #endif 120 #endif // defined(OS_MACOSX) && !defined(OS_IOS)
121 121
122 AutofillManager* manager_; // weak. 122 AutofillManager* manager_; // weak.
123 123
124 // Provides driver-level context to the shared code of the component. Must 124 // Provides driver-level context to the shared code of the component. Must
125 // outlive this object. 125 // outlive this object.
126 AutofillDriver* driver_; // weak 126 AutofillDriver* driver_; // weak
127 127
128 // The ID of the last request sent for form field Autofill. Used to ignore 128 // The ID of the last request sent for form field Autofill. Used to ignore
129 // out of date responses. 129 // out of date responses.
130 int query_id_; 130 int query_id_;
(...skipping 20 matching lines...) Expand all
151 std::vector<base::string16> data_list_labels_; 151 std::vector<base::string16> data_list_labels_;
152 152
153 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; 153 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); 155 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);
156 }; 156 };
157 157
158 } // namespace autofill 158 } // namespace autofill
159 159
160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 160 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698