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

Side by Side Diff: extensions/shell/browser/shell_prefs.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/shell/browser/shell_prefs.h" 5 #include "extensions/shell/browser/shell_prefs.h"
6 6
7 #include "base/sequenced_task_runner.h"
7 #include "build/build_config.h" 8 #include "build/build_config.h"
8 #include "components/pref_registry/pref_registry_syncable.h" 9 #include "components/pref_registry/pref_registry_syncable.h"
9 #include "components/prefs/json_pref_store.h" 10 #include "components/prefs/json_pref_store.h"
10 #include "components/prefs/pref_filter.h" 11 #include "components/prefs/pref_filter.h"
11 #include "components/prefs/pref_registry_simple.h" 12 #include "components/prefs/pref_registry_simple.h"
12 #include "components/prefs/pref_service.h" 13 #include "components/prefs/pref_service.h"
13 #include "components/prefs/pref_service_factory.h" 14 #include "components/prefs/pref_service_factory.h"
14 #include "components/user_prefs/user_prefs.h" 15 #include "components/user_prefs/user_prefs.h"
15 #include "content/public/browser/browser_context.h" 16 #include "content/public/browser/browser_context.h"
16 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 AudioAPI::RegisterUserPrefs(pref_registry); 85 AudioAPI::RegisterUserPrefs(pref_registry);
85 86
86 std::unique_ptr<PrefService> pref_service = factory.Create(pref_registry); 87 std::unique_ptr<PrefService> pref_service = factory.Create(pref_registry);
87 user_prefs::UserPrefs::Set(browser_context, pref_service.get()); 88 user_prefs::UserPrefs::Set(browser_context, pref_service.get());
88 return pref_service; 89 return pref_service;
89 } 90 }
90 91
91 } // namespace shell_prefs 92 } // namespace shell_prefs
92 93
93 } // namespace extensions 94 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698