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

Side by Side Diff: chrome/browser/ui/app_list/app_list_view_delegate.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) 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/ui/app_list/app_list_view_delegate.h" 5 #include "chrome/browser/ui/app_list/app_list_view_delegate.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "apps/custom_launcher_page_contents.h" 11 #include "apps/custom_launcher_page_contents.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/metrics/user_metrics.h" 15 #include "base/metrics/user_metrics.h"
16 #include "base/prefs/pref_service.h"
17 #include "base/profiler/scoped_tracker.h" 16 #include "base/profiler/scoped_tracker.h"
18 #include "base/stl_util.h" 17 #include "base/stl_util.h"
19 #include "build/build_config.h" 18 #include "build/build_config.h"
20 #include "chrome/browser/apps/scoped_keep_alive.h" 19 #include "chrome/browser/apps/scoped_keep_alive.h"
21 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/chrome_notification_types.h" 21 #include "chrome/browser/chrome_notification_types.h"
23 #include "chrome/browser/profiles/profile_info_cache.h" 22 #include "chrome/browser/profiles/profile_info_cache.h"
24 #include "chrome/browser/profiles/profile_manager.h" 23 #include "chrome/browser/profiles/profile_manager.h"
25 #include "chrome/browser/search/hotword_service.h" 24 #include "chrome/browser/search/hotword_service.h"
26 #include "chrome/browser/search/hotword_service_factory.h" 25 #include "chrome/browser/search/hotword_service_factory.h"
27 #include "chrome/browser/search_engines/template_url_service_factory.h" 26 #include "chrome/browser/search_engines/template_url_service_factory.h"
28 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" 27 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
29 #include "chrome/browser/ui/app_list/app_list_service.h" 28 #include "chrome/browser/ui/app_list/app_list_service.h"
30 #include "chrome/browser/ui/app_list/app_list_syncable_service.h" 29 #include "chrome/browser/ui/app_list/app_list_syncable_service.h"
31 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" 30 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
32 #include "chrome/browser/ui/app_list/launcher_page_event_dispatcher.h" 31 #include "chrome/browser/ui/app_list/launcher_page_event_dispatcher.h"
33 #include "chrome/browser/ui/app_list/search/search_controller_factory.h" 32 #include "chrome/browser/ui/app_list/search/search_controller_factory.h"
34 #include "chrome/browser/ui/app_list/search/search_resource_manager.h" 33 #include "chrome/browser/ui/app_list/search/search_resource_manager.h"
35 #include "chrome/browser/ui/app_list/start_page_service.h" 34 #include "chrome/browser/ui/app_list/start_page_service.h"
36 #include "chrome/browser/ui/apps/chrome_app_delegate.h" 35 #include "chrome/browser/ui/apps/chrome_app_delegate.h"
37 #include "chrome/browser/ui/browser_finder.h" 36 #include "chrome/browser/ui/browser_finder.h"
38 #include "chrome/browser/ui/chrome_pages.h" 37 #include "chrome/browser/ui/chrome_pages.h"
39 #include "chrome/browser/ui/host_desktop.h" 38 #include "chrome/browser/ui/host_desktop.h"
40 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" 39 #include "chrome/browser/ui/scoped_tabbed_browser_displayer.h"
41 #include "chrome/browser/web_applications/web_app.h" 40 #include "chrome/browser/web_applications/web_app.h"
42 #include "chrome/common/chrome_switches.h" 41 #include "chrome/common/chrome_switches.h"
43 #include "chrome/common/extensions/extension_constants.h" 42 #include "chrome/common/extensions/extension_constants.h"
44 #include "chrome/common/pref_names.h" 43 #include "chrome/common/pref_names.h"
45 #include "chrome/common/url_constants.h" 44 #include "chrome/common/url_constants.h"
45 #include "components/prefs/pref_service.h"
46 #include "components/search_engines/template_url_prepopulate_data.h" 46 #include "components/search_engines/template_url_prepopulate_data.h"
47 #include "components/signin/core/browser/signin_manager.h" 47 #include "components/signin/core/browser/signin_manager.h"
48 #include "components/user_prefs/user_prefs.h" 48 #include "components/user_prefs/user_prefs.h"
49 #include "content/public/browser/browser_thread.h" 49 #include "content/public/browser/browser_thread.h"
50 #include "content/public/browser/notification_service.h" 50 #include "content/public/browser/notification_service.h"
51 #include "content/public/browser/page_navigator.h" 51 #include "content/public/browser/page_navigator.h"
52 #include "content/public/browser/render_view_host.h" 52 #include "content/public/browser/render_view_host.h"
53 #include "content/public/browser/render_widget_host.h" 53 #include "content/public/browser/render_widget_host.h"
54 #include "content/public/browser/render_widget_host_view.h" 54 #include "content/public/browser/render_widget_host_view.h"
55 #include "content/public/browser/speech_recognition_session_preamble.h" 55 #include "content/public/browser/speech_recognition_session_preamble.h"
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 826
827 // SigninManagerFactory is not a leaky singleton (unlike this class), and 827 // SigninManagerFactory is not a leaky singleton (unlike this class), and
828 // its destructor will check that it has no remaining observers. 828 // its destructor will check that it has no remaining observers.
829 scoped_observer_.RemoveAll(); 829 scoped_observer_.RemoveAll();
830 SigninManagerFactory::GetInstance()->RemoveObserver(this); 830 SigninManagerFactory::GetInstance()->RemoveObserver(this);
831 break; 831 break;
832 default: 832 default:
833 NOTREACHED(); 833 NOTREACHED();
834 } 834 }
835 } 835 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_util.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698