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

Side by Side Diff: chrome/browser/webdata/autofill_profile_syncable_service.cc

Issue 102993018: Remove UTF string conversion functions from the global namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aaaaaaaaaa Created 6 years, 12 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
OLDNEW
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/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "components/autofill/core/browser/autofill_country.h" 11 #include "components/autofill/core/browser/autofill_country.h"
12 #include "components/autofill/core/browser/autofill_profile.h" 12 #include "components/autofill/core/browser/autofill_profile.h"
13 #include "components/autofill/core/browser/form_group.h" 13 #include "components/autofill/core/browser/form_group.h"
14 #include "components/autofill/core/browser/webdata/autofill_table.h" 14 #include "components/autofill/core/browser/webdata/autofill_table.h"
15 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 15 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
16 #include "components/webdata/common/web_database.h" 16 #include "components/webdata/common/web_database.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 #include "sync/api/sync_error.h" 18 #include "sync/api/sync_error.h"
19 #include "sync/api/sync_error_factory.h" 19 #include "sync/api/sync_error_factory.h"
20 #include "sync/protocol/sync.pb.h" 20 #include "sync/protocol/sync.pb.h"
21 21
22 using base::ASCIIToUTF16; 22 using base::ASCIIToUTF16;
23 using base::UTF8ToUTF16;
23 using base::UTF16ToUTF8; 24 using base::UTF16ToUTF8;
24 using autofill::AutofillCountry; 25 using autofill::AutofillCountry;
25 using autofill::ServerFieldType; 26 using autofill::ServerFieldType;
26 using autofill::AutofillProfile; 27 using autofill::AutofillProfile;
27 using autofill::AutofillProfileChange; 28 using autofill::AutofillProfileChange;
28 using autofill::AutofillTable; 29 using autofill::AutofillTable;
29 using autofill::AutofillWebDataService; 30 using autofill::AutofillWebDataService;
30 using content::BrowserThread; 31 using content::BrowserThread;
31 32
32 namespace { 33 namespace {
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 } 617 }
617 618
618 void AutofillProfileSyncableService::InjectStartSyncFlare( 619 void AutofillProfileSyncableService::InjectStartSyncFlare(
619 const syncer::SyncableService::StartSyncFlare& flare) { 620 const syncer::SyncableService::StartSyncFlare& flare) {
620 flare_ = flare; 621 flare_ = flare;
621 } 622 }
622 623
623 AutofillProfileSyncableService::DataBundle::DataBundle() {} 624 AutofillProfileSyncableService::DataBundle::DataBundle() {}
624 625
625 AutofillProfileSyncableService::DataBundle::~DataBundle() {} 626 AutofillProfileSyncableService::DataBundle::~DataBundle() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698