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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 2763863002: [USS] Remove intermediate structure during GetAllSyncMetadata (Closed)
Patch Set: Using DLOG(WARNING) Created 3 years, 9 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 | components/autofill/core/browser/webdata/autofill_table.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // testing only. 510 // testing only.
511 bool AddFormFieldValuesTime( 511 bool AddFormFieldValuesTime(
512 const std::vector<FormFieldData>& elements, 512 const std::vector<FormFieldData>& elements,
513 std::vector<AutofillChange>* changes, 513 std::vector<AutofillChange>* changes,
514 base::Time time); 514 base::Time time);
515 bool AddFormFieldValueTime(const FormFieldData& element, 515 bool AddFormFieldValueTime(const FormFieldData& element,
516 std::vector<AutofillChange>* changes, 516 std::vector<AutofillChange>* changes,
517 base::Time time); 517 base::Time time);
518 518
519 bool GetAllSyncEntityMetadata(syncer::ModelType model_type, 519 bool GetAllSyncEntityMetadata(syncer::ModelType model_type,
520 syncer::EntityMetadataMap* metadata_records); 520 syncer::MetadataBatch* metadata_batch);
521 521
522 bool GetModelTypeState(syncer::ModelType model_type, 522 bool GetModelTypeState(syncer::ModelType model_type,
523 sync_pb::ModelTypeState* state); 523 sync_pb::ModelTypeState* state);
524 524
525 // Insert a single AutofillEntry into the autofill table. 525 // Insert a single AutofillEntry into the autofill table.
526 bool InsertAutofillEntry(const AutofillEntry& entry); 526 bool InsertAutofillEntry(const AutofillEntry& entry);
527 527
528 // Checks if the trash is empty. 528 // Checks if the trash is empty.
529 bool IsAutofillProfilesTrashEmpty(); 529 bool IsAutofillProfilesTrashEmpty();
530 530
(...skipping 17 matching lines...) Expand all
548 bool InitModelTypeStateTable(); 548 bool InitModelTypeStateTable();
549 549
550 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_; 550 std::unique_ptr<AutofillTableEncryptor> autofill_table_encryptor_;
551 551
552 DISALLOW_COPY_AND_ASSIGN(AutofillTable); 552 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
553 }; 553 };
554 554
555 } // namespace autofill 555 } // namespace autofill
556 556
557 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 557 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/webdata/autofill_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698