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

Side by Side Diff: chrome/browser/sync/glue/autofill_data_type_controller.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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/sync/glue/autofill_data_type_controller.h" 5 #include "chrome/browser/sync/glue/autofill_data_type_controller.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 "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sync/profile_sync_components_factory.h" 10 #include "chrome/browser/sync/profile_sync_components_factory.h"
11 #include "chrome/browser/sync/profile_sync_service.h" 11 #include "chrome/browser/sync/profile_sync_service.h"
12 #include "chrome/browser/sync/profile_sync_service_factory.h" 12 #include "chrome/browser/sync/profile_sync_service_factory.h"
13 #include "chrome/browser/webdata/autocomplete_syncable_service.h" 13 #include "chrome/browser/webdata/autocomplete_syncable_service.h"
14 #include "components/autofill/browser/webdata/autofill_webdata_service.h" 14 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "sync/api/sync_error.h" 16 #include "sync/api/sync_error.h"
17 #include "sync/internal_api/public/util/experiments.h" 17 #include "sync/internal_api/public/util/experiments.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 20
21 namespace browser_sync { 21 namespace browser_sync {
22 22
23 AutofillDataTypeController::AutofillDataTypeController( 23 AutofillDataTypeController::AutofillDataTypeController(
24 ProfileSyncComponentsFactory* profile_sync_factory, 24 ProfileSyncComponentsFactory* profile_sync_factory,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 AutocompleteSyncableService::FromWebDataService(web_data_service.get()); 110 AutocompleteSyncableService::FromWebDataService(web_data_service.get());
111 if (!service) { 111 if (!service) {
112 DVLOG(1) << "Can't update culling, no AutocompleteSyncableService."; 112 DVLOG(1) << "Can't update culling, no AutocompleteSyncableService.";
113 return; 113 return;
114 } 114 }
115 115
116 service->UpdateCullSetting(cull_expired_entries); 116 service->UpdateCullSetting(cull_expired_entries);
117 } 117 }
118 118
119 } // namespace browser_sync 119 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698