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); | |
327 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, | 325 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, |
328 RemoveAutoFillProfilesAndCreditCardsModifiedBetween); | 326 RemoveAutoFillProfilesAndCreditCardsModifiedBetween); |
329 | 327 |
330 // Methods for adding autofill entries at a specified time. For | 328 // Methods for adding autofill entries at a specified time. For |
331 // testing only. | 329 // testing only. |
332 bool AddFormFieldValuesTime( | 330 bool AddFormFieldValuesTime( |
333 const std::vector<webkit_glue::FormField>& elements, | 331 const std::vector<webkit_glue::FormField>& elements, |
334 std::vector<AutofillChange>* changes, | 332 std::vector<AutofillChange>* changes, |
335 base::Time time); | 333 base::Time time); |
336 bool AddFormFieldValueTime(const webkit_glue::FormField& element, | 334 bool AddFormFieldValueTime(const webkit_glue::FormField& element, |
(...skipping 25 matching lines...) Expand all Loading... |
362 | 360 |
363 sql::Connection db_; | 361 sql::Connection db_; |
364 sql::MetaTable meta_table_; | 362 sql::MetaTable meta_table_; |
365 | 363 |
366 scoped_ptr<NotificationService> notification_service_; | 364 scoped_ptr<NotificationService> notification_service_; |
367 | 365 |
368 DISALLOW_COPY_AND_ASSIGN(WebDatabase); | 366 DISALLOW_COPY_AND_ASSIGN(WebDatabase); |
369 }; | 367 }; |
370 | 368 |
371 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ | 369 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ |
OLD | NEW |