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

Side by Side Diff: chrome/browser/autofill/personal_data_manager.cc

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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/autofill/personal_data_manager.h" 5 #include "chrome/browser/autofill/personal_data_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <iterator> 9 #include <iterator>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/prefs/public/pref_service_base.h" 12 #include "base/prefs/public/pref_service_base.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/api/sync/profile_sync_service_base.h" 15 #include "chrome/browser/api/sync/profile_sync_service_base.h"
16 #include "chrome/browser/api/webdata/autofill_web_data_service.h" 16 #include "chrome/browser/api/webdata/autofill_web_data_service.h"
17 #include "chrome/browser/autofill/autofill-inl.h" 17 #include "chrome/browser/autofill/autofill-inl.h"
18 #include "chrome/browser/autofill/autofill_country.h" 18 #include "chrome/browser/autofill/autofill_country.h"
19 #include "chrome/browser/autofill/autofill_field.h" 19 #include "chrome/browser/autofill/autofill_field.h"
20 #include "chrome/browser/autofill/autofill_metrics.h" 20 #include "chrome/browser/autofill/autofill_metrics.h"
21 #include "chrome/browser/autofill/autofill_regexes.h" 21 #include "chrome/browser/autofill/autofill_regexes.h"
22 #include "chrome/browser/autofill/form_group.h" 22 #include "chrome/browser/autofill/form_group.h"
23 #include "chrome/browser/autofill/form_structure.h" 23 #include "chrome/browser/autofill/form_structure.h"
24 #include "chrome/browser/autofill/personal_data_manager_observer.h" 24 #include "chrome/browser/autofill/personal_data_manager_observer.h"
25 #include "chrome/browser/autofill/phone_number.h" 25 #include "chrome/browser/autofill/phone_number.h"
26 #include "chrome/browser/autofill/phone_number_i18n.h" 26 #include "chrome/browser/autofill/phone_number_i18n.h"
27 #include "chrome/common/chrome_notification_types.h" 27 #include "chrome/common/chrome_notification_types.h"
28 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
29 #include "content/public/browser/browser_context.h" 29 #include "content/public/browser/browser_context.h"
30 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/notification_source.h" 30 #include "content/public/browser/notification_source.h"
32 31
33 using content::BrowserContext; 32 using content::BrowserContext;
34 33
35 namespace { 34 namespace {
36 35
37 template<typename T> 36 template<typename T>
38 class FormGroupMatchesByGUIDFunctor { 37 class FormGroupMatchesByGUIDFunctor {
39 public: 38 public:
40 explicit FormGroupMatchesByGUIDFunctor(const std::string& guid) 39 explicit FormGroupMatchesByGUIDFunctor(const std::string& guid)
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 1002
1004 void PersonalDataManager::set_metric_logger( 1003 void PersonalDataManager::set_metric_logger(
1005 const AutofillMetrics* metric_logger) { 1004 const AutofillMetrics* metric_logger) {
1006 metric_logger_.reset(metric_logger); 1005 metric_logger_.reset(metric_logger);
1007 } 1006 }
1008 1007
1009 void PersonalDataManager::set_browser_context( 1008 void PersonalDataManager::set_browser_context(
1010 content::BrowserContext* context) { 1009 content::BrowserContext* context) {
1011 browser_context_ = context; 1010 browser_context_ = context;
1012 } 1011 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698