OLD | NEW |
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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/prefs/pref_service.h" |
12 #include "base/time.h" | 13 #include "base/time.h" |
13 #include "base/timer.h" | 14 #include "base/timer.h" |
14 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
15 #include "base/win/shortcut.h" | 16 #include "base/win/shortcut.h" |
16 #include "chrome/app/chrome_dll_resource.h" | 17 #include "chrome/app/chrome_dll_resource.h" |
17 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/extensions/extension_prefs.h" | 19 #include "chrome/browser/extensions/extension_prefs.h" |
19 #include "chrome/browser/extensions/extension_service.h" | 20 #include "chrome/browser/extensions/extension_service.h" |
20 #include "chrome/browser/lifetime/application_lifetime.h" | 21 #include "chrome/browser/lifetime/application_lifetime.h" |
21 #include "chrome/browser/platform_util.h" | 22 #include "chrome/browser/platform_util.h" |
22 #include "chrome/browser/prefs/pref_service.h" | |
23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
24 #include "chrome/browser/profiles/profile_manager.h" | 24 #include "chrome/browser/profiles/profile_manager.h" |
25 #include "chrome/browser/shell_integration.h" | 25 #include "chrome/browser/shell_integration.h" |
26 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" | 26 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
27 #include "chrome/browser/ui/app_list/app_list_util.h" | 27 #include "chrome/browser/ui/app_list/app_list_util.h" |
28 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" | 28 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" |
29 #include "chrome/browser/ui/extensions/application_launch.h" | 29 #include "chrome/browser/ui/extensions/application_launch.h" |
30 #include "chrome/browser/ui/views/browser_dialogs.h" | 30 #include "chrome/browser/ui/views/browser_dialogs.h" |
31 #include "chrome/common/chrome_constants.h" | 31 #include "chrome/common/chrome_constants.h" |
32 #include "chrome/common/chrome_notification_types.h" | 32 #include "chrome/common/chrome_notification_types.h" |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 Profile* profile, | 895 Profile* profile, |
896 const std::string& extension_id, | 896 const std::string& extension_id, |
897 int percent_downloaded) { | 897 int percent_downloaded) { |
898 g_app_list_controller.Get().OnDownloadProgress(profile, extension_id, | 898 g_app_list_controller.Get().OnDownloadProgress(profile, extension_id, |
899 percent_downloaded); | 899 percent_downloaded); |
900 } | 900 } |
901 | 901 |
902 #endif // !defined(USE_ASH) | 902 #endif // !defined(USE_ASH) |
903 | 903 |
904 } // namespace chrome | 904 } // namespace chrome |
OLD | NEW |