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

Side by Side Diff: ios/chrome/browser/autofill/validation_rules_storage_factory.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "ios/chrome/browser/autofill/validation_rules_storage_factory.h" 5 #include "ios/chrome/browser/autofill/validation_rules_storage_factory.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/sequenced_task_runner.h"
9 #include "base/threading/sequenced_worker_pool.h" 10 #include "base/threading/sequenced_worker_pool.h"
10 #include "components/prefs/json_pref_store.h" 11 #include "components/prefs/json_pref_store.h"
11 #include "components/prefs/pref_filter.h" 12 #include "components/prefs/pref_filter.h"
12 #include "ios/chrome/browser/chrome_paths.h" 13 #include "ios/chrome/browser/chrome_paths.h"
13 #include "ios/web/public/web_thread.h" 14 #include "ios/web/public/web_thread.h"
14 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h" 15 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h"
15 16
16 namespace autofill { 17 namespace autofill {
17 18
18 using ::i18n::addressinput::Storage; 19 using ::i18n::addressinput::Storage;
(...skipping 19 matching lines...) Expand all
38 web::WebThread::GetBlockingPool()); 39 web::WebThread::GetBlockingPool());
39 40
40 json_pref_store_ = new JsonPrefStore(cache, task_runner.get(), 41 json_pref_store_ = new JsonPrefStore(cache, task_runner.get(),
41 std::unique_ptr<PrefFilter>()); 42 std::unique_ptr<PrefFilter>());
42 json_pref_store_->ReadPrefsAsync(NULL); 43 json_pref_store_->ReadPrefsAsync(NULL);
43 } 44 }
44 45
45 ValidationRulesStorageFactory::~ValidationRulesStorageFactory() {} 46 ValidationRulesStorageFactory::~ValidationRulesStorageFactory() {}
46 47
47 } // namespace autofill 48 } // namespace autofill
OLDNEW
« no previous file with comments | « ios/chrome/browser/application_context_impl.cc ('k') | ios/chrome/browser/browser_state/chrome_browser_state_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698