OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_WEBDATA_WEB_DATABASE_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 6 #define CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "app/sql/connection.h" | 10 #include "app/sql/connection.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill); | 276 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill); |
277 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddChanges); | 277 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddChanges); |
278 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_RemoveBetweenChanges); | 278 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_RemoveBetweenChanges); |
279 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 279 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
280 Autofill_GetAllAutofillEntries_OneResult); | 280 Autofill_GetAllAutofillEntries_OneResult); |
281 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 281 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
282 Autofill_GetAllAutofillEntries_TwoDistinct); | 282 Autofill_GetAllAutofillEntries_TwoDistinct); |
283 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 283 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
284 Autofill_GetAllAutofillEntries_TwoSame); | 284 Autofill_GetAllAutofillEntries_TwoSame); |
285 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); | 285 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); |
| 286 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddFormFieldValues); |
286 // Methods for adding autofill entries at a specified time. For | 287 // Methods for adding autofill entries at a specified time. For |
287 // testing only. | 288 // testing only. |
288 bool AddFormFieldValuesTime( | 289 bool AddFormFieldValuesTime( |
289 const std::vector<webkit_glue::FormField>& elements, | 290 const std::vector<webkit_glue::FormField>& elements, |
290 std::vector<AutofillChange>* changes, | 291 std::vector<AutofillChange>* changes, |
291 base::Time time); | 292 base::Time time); |
292 bool AddFormFieldValueTime(const webkit_glue::FormField& element, | 293 bool AddFormFieldValueTime(const webkit_glue::FormField& element, |
293 std::vector<AutofillChange>* changes, | 294 std::vector<AutofillChange>* changes, |
294 base::Time time); | 295 base::Time time); |
295 | 296 |
(...skipping 19 matching lines...) Expand all Loading... |
315 | 316 |
316 sql::Connection db_; | 317 sql::Connection db_; |
317 sql::MetaTable meta_table_; | 318 sql::MetaTable meta_table_; |
318 | 319 |
319 scoped_ptr<NotificationService> notification_service_; | 320 scoped_ptr<NotificationService> notification_service_; |
320 | 321 |
321 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 322 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
322 }; | 323 }; |
323 | 324 |
324 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 325 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
OLD | NEW |