OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/webdata/autofill_profile_syncable_service.h" | 5 #include "chrome/browser/webdata/autofill_profile_syncable_service.h" |
6 | 6 |
7 #include "base/guid.h" | 7 #include "base/guid.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
11 #include "chrome/browser/webdata/autofill_table.h" | |
12 #include "chrome/browser/webdata/autofill_web_data_service.h" | |
13 #include "chrome/browser/webdata/web_database.h" | |
14 #include "components/autofill/browser/autofill_profile.h" | 11 #include "components/autofill/browser/autofill_profile.h" |
15 #include "components/autofill/browser/form_group.h" | 12 #include "components/autofill/browser/form_group.h" |
| 13 #include "components/webdata/autofill/autofill_table.h" |
| 14 #include "components/webdata/autofill/autofill_webdata_service.h" |
| 15 #include "components/webdata/common/web_database.h" |
16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
17 #include "sync/api/sync_error.h" | 17 #include "sync/api/sync_error.h" |
18 #include "sync/api/sync_error_factory.h" | 18 #include "sync/api/sync_error_factory.h" |
19 #include "sync/protocol/sync.pb.h" | 19 #include "sync/protocol/sync.pb.h" |
20 | 20 |
21 using content::BrowserThread; | 21 using content::BrowserThread; |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
25 std::string LimitData(const std::string& data) { | 25 std::string LimitData(const std::string& data) { |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 return (merge_into->Compare(merge_from) != 0); | 556 return (merge_into->Compare(merge_from) != 0); |
557 } | 557 } |
558 | 558 |
559 AutofillTable* AutofillProfileSyncableService::GetAutofillTable() const { | 559 AutofillTable* AutofillProfileSyncableService::GetAutofillTable() const { |
560 return AutofillTable::FromWebDatabase(web_data_service_->GetDatabase()); | 560 return AutofillTable::FromWebDatabase(web_data_service_->GetDatabase()); |
561 } | 561 } |
562 | 562 |
563 AutofillProfileSyncableService::DataBundle::DataBundle() {} | 563 AutofillProfileSyncableService::DataBundle::DataBundle() {} |
564 | 564 |
565 AutofillProfileSyncableService::DataBundle::~DataBundle() {} | 565 AutofillProfileSyncableService::DataBundle::~DataBundle() {} |
OLD | NEW |