| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 315 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 316 Autofill_GetAllAutofillEntries_OneResult); | 316 Autofill_GetAllAutofillEntries_OneResult); |
| 317 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 317 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 318 Autofill_GetAllAutofillEntries_TwoDistinct); | 318 Autofill_GetAllAutofillEntries_TwoDistinct); |
| 319 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 319 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 320 Autofill_GetAllAutofillEntries_TwoSame); | 320 Autofill_GetAllAutofillEntries_TwoSame); |
| 321 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); | 321 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); |
| 322 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddFormFieldValues); | 322 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddFormFieldValues); |
| 323 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, AutoFillProfile); | 323 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, AutoFillProfile); |
| 324 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, CreditCard); | 324 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, CreditCard); |
| 325 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, UpdateAutoFillProfile); |
| 326 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, UpdateCreditCard); |
| 325 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 327 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 326 RemoveAutoFillProfilesAndCreditCardsModifiedBetween); | 328 RemoveAutoFillProfilesAndCreditCardsModifiedBetween); |
| 327 | 329 |
| 328 // Methods for adding autofill entries at a specified time. For | 330 // Methods for adding autofill entries at a specified time. For |
| 329 // testing only. | 331 // testing only. |
| 330 bool AddFormFieldValuesTime( | 332 bool AddFormFieldValuesTime( |
| 331 const std::vector<webkit_glue::FormField>& elements, | 333 const std::vector<webkit_glue::FormField>& elements, |
| 332 std::vector<AutofillChange>* changes, | 334 std::vector<AutofillChange>* changes, |
| 333 base::Time time); | 335 base::Time time); |
| 334 bool AddFormFieldValueTime(const webkit_glue::FormField& element, | 336 bool AddFormFieldValueTime(const webkit_glue::FormField& element, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 360 | 362 |
| 361 sql::Connection db_; | 363 sql::Connection db_; |
| 362 sql::MetaTable meta_table_; | 364 sql::MetaTable meta_table_; |
| 363 | 365 |
| 364 scoped_ptr<NotificationService> notification_service_; | 366 scoped_ptr<NotificationService> notification_service_; |
| 365 | 367 |
| 366 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 368 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
| 367 }; | 369 }; |
| 368 | 370 |
| 369 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 371 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
| OLD | NEW |