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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h" 5 #include "components/autofill/core/browser/webdata/autofill_profile_syncable_ser vice.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8
8 #include <utility> 9 #include <utility>
9 10
10 #include "base/guid.h" 11 #include "base/guid.h"
11 #include "base/location.h" 12 #include "base/location.h"
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
14 #include "components/autofill/core/browser/autofill_country.h" 15 #include "components/autofill/core/browser/autofill_country.h"
15 #include "components/autofill/core/browser/autofill_profile.h" 16 #include "components/autofill/core/browser/autofill_profile.h"
16 #include "components/autofill/core/browser/autofill_profile_comparator.h" 17 #include "components/autofill/core/browser/autofill_profile_comparator.h"
17 #include "components/autofill/core/browser/country_names.h" 18 #include "components/autofill/core/browser/country_names.h"
18 #include "components/autofill/core/browser/form_group.h" 19 #include "components/autofill/core/browser/form_group.h"
19 #include "components/autofill/core/browser/webdata/autofill_table.h" 20 #include "components/autofill/core/browser/webdata/autofill_table.h"
20 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 21 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
22 #include "components/sync/api/sync_error.h"
23 #include "components/sync/api/sync_error_factory.h"
24 #include "components/sync/protocol/sync.pb.h"
21 #include "components/webdata/common/web_database.h" 25 #include "components/webdata/common/web_database.h"
22 #include "sync/api/sync_error.h"
23 #include "sync/api/sync_error_factory.h"
24 #include "sync/protocol/sync.pb.h"
25 26
26 using base::ASCIIToUTF16; 27 using base::ASCIIToUTF16;
27 using base::UTF8ToUTF16; 28 using base::UTF8ToUTF16;
28 using base::UTF16ToUTF8; 29 using base::UTF16ToUTF8;
29 30
30 namespace autofill { 31 namespace autofill {
31 32
32 namespace { 33 namespace {
33 34
34 std::string LimitData(const std::string& data) { 35 std::string LimitData(const std::string& data) {
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 } 660 }
660 661
661 AutofillProfileSyncableService::DataBundle::DataBundle() {} 662 AutofillProfileSyncableService::DataBundle::DataBundle() {}
662 663
663 AutofillProfileSyncableService::DataBundle::DataBundle( 664 AutofillProfileSyncableService::DataBundle::DataBundle(
664 const DataBundle& other) = default; 665 const DataBundle& other) = default;
665 666
666 AutofillProfileSyncableService::DataBundle::~DataBundle() {} 667 AutofillProfileSyncableService::DataBundle::~DataBundle() {}
667 668
668 } // namespace autofill 669 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698