| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill); | 277 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill); |
| 278 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddChanges); | 278 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddChanges); |
| 279 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_RemoveBetweenChanges); | 279 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_RemoveBetweenChanges); |
| 280 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 280 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 281 Autofill_GetAllAutofillEntries_OneResult); | 281 Autofill_GetAllAutofillEntries_OneResult); |
| 282 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 282 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 283 Autofill_GetAllAutofillEntries_TwoDistinct); | 283 Autofill_GetAllAutofillEntries_TwoDistinct); |
| 284 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 284 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
| 285 Autofill_GetAllAutofillEntries_TwoSame); | 285 Autofill_GetAllAutofillEntries_TwoSame); |
| 286 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); | 286 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); |
| 287 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddFormFieldValues); |
| 287 // Methods for adding autofill entries at a specified time. For | 288 // Methods for adding autofill entries at a specified time. For |
| 288 // testing only. | 289 // testing only. |
| 289 bool AddFormFieldValuesTime( | 290 bool AddFormFieldValuesTime( |
| 290 const std::vector<webkit_glue::FormField>& elements, | 291 const std::vector<webkit_glue::FormField>& elements, |
| 291 std::vector<AutofillChange>* changes, | 292 std::vector<AutofillChange>* changes, |
| 292 base::Time time); | 293 base::Time time); |
| 293 bool AddFormFieldValueTime(const webkit_glue::FormField& element, | 294 bool AddFormFieldValueTime(const webkit_glue::FormField& element, |
| 294 std::vector<AutofillChange>* changes, | 295 std::vector<AutofillChange>* changes, |
| 295 base::Time time); | 296 base::Time time); |
| 296 | 297 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 316 | 317 |
| 317 sql::Connection db_; | 318 sql::Connection db_; |
| 318 sql::MetaTable meta_table_; | 319 sql::MetaTable meta_table_; |
| 319 | 320 |
| 320 scoped_ptr<NotificationService> notification_service_; | 321 scoped_ptr<NotificationService> notification_service_; |
| 321 | 322 |
| 322 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 323 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
| 323 }; | 324 }; |
| 324 | 325 |
| 325 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 326 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
| OLD | NEW |