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

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

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/autofill/core/browser/webdata/autofill_profile_data_type_co ntroller.h" 5 #include "components/autofill/core/browser/webdata/autofill_profile_data_type_co ntroller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "components/autofill/core/browser/personal_data_manager.h" 9 #include "components/autofill/core/browser/personal_data_manager.h"
10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
11 #include "components/sync/api/sync_error.h"
12 #include "components/sync/api/syncable_service.h"
13 #include "components/sync/driver/sync_client.h" 11 #include "components/sync/driver/sync_client.h"
12 #include "components/sync/model/sync_error.h"
13 #include "components/sync/model/syncable_service.h"
14 14
15 using autofill::AutofillWebDataService; 15 using autofill::AutofillWebDataService;
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
19 AutofillProfileDataTypeController::AutofillProfileDataTypeController( 19 AutofillProfileDataTypeController::AutofillProfileDataTypeController(
20 const scoped_refptr<base::SingleThreadTaskRunner>& db_thread, 20 const scoped_refptr<base::SingleThreadTaskRunner>& db_thread,
21 const base::Closure& dump_stack, 21 const base::Closure& dump_stack,
22 syncer::SyncClient* sync_client, 22 syncer::SyncClient* sync_client,
23 const scoped_refptr<autofill::AutofillWebDataService>& web_data_service) 23 const scoped_refptr<autofill::AutofillWebDataService>& web_data_service)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 return false; 96 return false;
97 } 97 }
98 98
99 void AutofillProfileDataTypeController::StopModels() { 99 void AutofillProfileDataTypeController::StopModels() {
100 DCHECK(CalledOnValidThread()); 100 DCHECK(CalledOnValidThread());
101 sync_client_->GetPersonalDataManager()->RemoveObserver(this); 101 sync_client_->GetPersonalDataManager()->RemoveObserver(this);
102 } 102 }
103 103
104 } // namespace browser_sync 104 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698