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

Side by Side Diff: chrome/browser/webdata/web_database.h

Issue 3295002: Migration unit tests to web database for missing images on the search ballot (Closed)
Patch Set: More EXPECT, remove dead method. Created 10 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddChanges); 301 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddChanges);
302 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_RemoveBetweenChanges); 302 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_RemoveBetweenChanges);
303 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, 303 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest,
304 Autofill_GetAllAutofillEntries_OneResult); 304 Autofill_GetAllAutofillEntries_OneResult);
305 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, 305 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest,
306 Autofill_GetAllAutofillEntries_TwoDistinct); 306 Autofill_GetAllAutofillEntries_TwoDistinct);
307 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, 307 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest,
308 Autofill_GetAllAutofillEntries_TwoSame); 308 Autofill_GetAllAutofillEntries_TwoSame);
309 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace); 309 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_UpdateDontReplace);
310 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddFormFieldValues); 310 FRIEND_TEST_ALL_PREFIXES(WebDatabaseTest, Autofill_AddFormFieldValues);
311
311 // Methods for adding autofill entries at a specified time. For 312 // Methods for adding autofill entries at a specified time. For
312 // testing only. 313 // testing only.
313 bool AddFormFieldValuesTime( 314 bool AddFormFieldValuesTime(
314 const std::vector<webkit_glue::FormField>& elements, 315 const std::vector<webkit_glue::FormField>& elements,
315 std::vector<AutofillChange>* changes, 316 std::vector<AutofillChange>* changes,
316 base::Time time); 317 base::Time time);
317 bool AddFormFieldValueTime(const webkit_glue::FormField& element, 318 bool AddFormFieldValueTime(const webkit_glue::FormField& element,
318 std::vector<AutofillChange>* changes, 319 std::vector<AutofillChange>* changes,
319 base::Time time); 320 base::Time time);
320 321
(...skipping 20 matching lines...) Expand all
341 342
342 sql::Connection db_; 343 sql::Connection db_;
343 sql::MetaTable meta_table_; 344 sql::MetaTable meta_table_;
344 345
345 scoped_ptr<NotificationService> notification_service_; 346 scoped_ptr<NotificationService> notification_service_;
346 347
347 DISALLOW_COPY_AND_ASSIGN(WebDatabase); 348 DISALLOW_COPY_AND_ASSIGN(WebDatabase);
348 }; 349 };
349 350
350 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_ 351 #endif // CHROME_BROWSER_WEBDATA_WEB_DATABASE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/webdata/web_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698