OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/ui/app_list/recommended_apps.h" | 5 #include "chrome/browser/ui/app_list/recommended_apps.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
12 #include "chrome/browser/extensions/extension_system_factory.h" | |
13 #include "chrome/browser/extensions/install_tracker.h" | 12 #include "chrome/browser/extensions/install_tracker.h" |
14 #include "chrome/browser/extensions/install_tracker_factory.h" | 13 #include "chrome/browser/extensions/install_tracker_factory.h" |
15 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/ui/app_list/recommended_apps_observer.h" | 15 #include "chrome/browser/ui/app_list/recommended_apps_observer.h" |
17 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
18 #include "extensions/browser/extension_prefs.h" | 17 #include "extensions/browser/extension_prefs.h" |
| 18 #include "extensions/browser/extension_system.h" |
| 19 #include "extensions/browser/extension_system_provider.h" |
| 20 #include "extensions/browser/extensions_browser_client.h" |
19 #include "extensions/browser/pref_names.h" | 21 #include "extensions/browser/pref_names.h" |
20 #include "extensions/common/extension.h" | 22 #include "extensions/common/extension.h" |
21 #include "extensions/common/extension_set.h" | 23 #include "extensions/common/extension_set.h" |
22 | 24 |
23 namespace app_list { | 25 namespace app_list { |
24 | 26 |
25 namespace { | 27 namespace { |
26 | 28 |
27 struct AppSortInfo { | 29 struct AppSortInfo { |
28 AppSortInfo() : app(NULL) {} | 30 AppSortInfo() : app(NULL) {} |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 } | 132 } |
131 | 133 |
132 void RecommendedApps::OnAppsReordered() {} | 134 void RecommendedApps::OnAppsReordered() {} |
133 | 135 |
134 void RecommendedApps::OnAppInstalledToAppList( | 136 void RecommendedApps::OnAppInstalledToAppList( |
135 const std::string& extension_id) {} | 137 const std::string& extension_id) {} |
136 | 138 |
137 void RecommendedApps::OnShutdown() {} | 139 void RecommendedApps::OnShutdown() {} |
138 | 140 |
139 } // namespace app_list | 141 } // namespace app_list |
OLD | NEW |