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

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

Issue 3169008: Merge 55781 - Autocomplete entries submitted are limited in number.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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 | Annotate | Revision Log
« 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 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
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
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_
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