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

Side by Side Diff: chrome/browser/profile_resetter/profile_resetter.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/profile_resetter/profile_resetter.h" 5 #include "chrome/browser/profile_resetter/profile_resetter.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/prefs/pref_service.h"
13 #include "base/prefs/scoped_user_pref_update.h"
14 #include "base/synchronization/cancellation_flag.h" 12 #include "base/synchronization/cancellation_flag.h"
15 #include "build/build_config.h" 13 #include "build/build_config.h"
16 #include "chrome/browser/browsing_data/browsing_data_helper.h" 14 #include "chrome/browser/browsing_data/browsing_data_helper.h"
17 #include "chrome/browser/browsing_data/browsing_data_remover.h" 15 #include "chrome/browser/browsing_data/browsing_data_remover.h"
18 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" 16 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 17 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
20 #include "chrome/browser/extensions/extension_service.h" 18 #include "chrome/browser/extensions/extension_service.h"
21 #include "chrome/browser/google/google_url_tracker_factory.h" 19 #include "chrome/browser/google/google_url_tracker_factory.h"
22 #include "chrome/browser/profile_resetter/brandcoded_default_settings.h" 20 #include "chrome/browser/profile_resetter/brandcoded_default_settings.h"
23 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
24 #include "chrome/browser/search_engines/template_url_service_factory.h" 22 #include "chrome/browser/search_engines/template_url_service_factory.h"
25 #include "chrome/browser/ui/browser.h" 23 #include "chrome/browser/ui/browser.h"
26 #include "chrome/browser/ui/browser_list.h" 24 #include "chrome/browser/ui/browser_list.h"
27 #include "chrome/browser/ui/tabs/tab_strip_model.h" 25 #include "chrome/browser/ui/tabs/tab_strip_model.h"
28 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
29 #include "chrome/installer/util/browser_distribution.h" 27 #include "chrome/installer/util/browser_distribution.h"
30 #include "components/content_settings/core/browser/content_settings_info.h" 28 #include "components/content_settings/core/browser/content_settings_info.h"
31 #include "components/content_settings/core/browser/content_settings_registry.h" 29 #include "components/content_settings/core/browser/content_settings_registry.h"
32 #include "components/content_settings/core/browser/host_content_settings_map.h" 30 #include "components/content_settings/core/browser/host_content_settings_map.h"
33 #include "components/content_settings/core/browser/website_settings_info.h" 31 #include "components/content_settings/core/browser/website_settings_info.h"
34 #include "components/content_settings/core/browser/website_settings_registry.h" 32 #include "components/content_settings/core/browser/website_settings_registry.h"
35 #include "components/google/core/browser/google_url_tracker.h" 33 #include "components/google/core/browser/google_url_tracker.h"
34 #include "components/prefs/pref_service.h"
35 #include "components/prefs/scoped_user_pref_update.h"
36 #include "components/search_engines/search_engines_pref_names.h" 36 #include "components/search_engines/search_engines_pref_names.h"
37 #include "components/search_engines/template_url_prepopulate_data.h" 37 #include "components/search_engines/template_url_prepopulate_data.h"
38 #include "components/search_engines/template_url_service.h" 38 #include "components/search_engines/template_url_service.h"
39 #include "content/public/browser/browser_thread.h" 39 #include "content/public/browser/browser_thread.h"
40 #include "extensions/browser/extension_system.h" 40 #include "extensions/browser/extension_system.h"
41 #include "extensions/browser/management_policy.h" 41 #include "extensions/browser/management_policy.h"
42 42
43 #if defined(OS_WIN) 43 #if defined(OS_WIN)
44 #include "base/base_paths.h" 44 #include "base/base_paths.h"
45 #include "base/path_service.h" 45 #include "base/path_service.h"
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 chrome_exe, 361 chrome_exe,
362 false, 362 false,
363 cancel, 363 cancel,
364 &shortcuts); 364 &shortcuts);
365 } 365 }
366 return shortcuts; 366 return shortcuts;
367 #else 367 #else
368 return std::vector<ShortcutCommand>(); 368 return std::vector<ShortcutCommand>();
369 #endif 369 #endif
370 } 370 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_message_filter.h ('k') | chrome/browser/profile_resetter/profile_resetter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698