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

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

Issue 2660673002: [Sync] Not having an autocomplete ModelTypeState is valid. (Closed)
Patch Set: Update AutocompleteSyncBridge unittests to not rely on initial metadata. Created 3 years, 10 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
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>
11 #include <string>
11 #include <vector> 12 #include <vector>
12 13
13 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
14 #include "base/macros.h" 15 #include "base/macros.h"
15 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
16 #include "components/sync/base/model_type.h" 17 #include "components/sync/base/model_type.h"
17 #include "components/sync/model/metadata_batch.h" 18 #include "components/sync/model/metadata_batch.h"
18 #include "components/webdata/common/web_database_table.h" 19 #include "components/webdata/common/web_database_table.h"
19 20
20 class WebDatabase; 21 class WebDatabase;
21 22
22 namespace base { 23 namespace base {
23 class Time; 24 class Time;
24 } 25 }
25 26
26 namespace sync_pb {
27 class EntityMetadata;
28 class ModelTypeState;
29 }
30
31 namespace autofill { 27 namespace autofill {
32 28
33 class AutofillChange; 29 class AutofillChange;
34 class AutofillEntry; 30 class AutofillEntry;
35 class AutofillProfile; 31 class AutofillProfile;
36 class AutofillTableTest; 32 class AutofillTableTest;
37 class CreditCard; 33 class CreditCard;
38 34
39 struct FormFieldData; 35 struct FormFieldData;
40 36
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 bool InitServerAddressMetadataTable(); 545 bool InitServerAddressMetadataTable();
550 bool InitAutofillSyncMetadataTable(); 546 bool InitAutofillSyncMetadataTable();
551 bool InitModelTypeStateTable(); 547 bool InitModelTypeStateTable();
552 548
553 DISALLOW_COPY_AND_ASSIGN(AutofillTable); 549 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
554 }; 550 };
555 551
556 } // namespace autofill 552 } // namespace autofill
557 553
558 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 554 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698