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

Side by Side Diff: chrome/browser/ui/app_list/recommended_apps.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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_prefs.h" 11 #include "chrome/browser/extensions/extension_prefs.h"
12 #include "chrome/browser/extensions/extension_service.h" 12 #include "chrome/browser/extensions/extension_service.h"
13 #include "chrome/browser/extensions/extension_system_factory.h" 13 #include "chrome/browser/extensions/extension_system_factory.h"
14 #include "chrome/browser/extensions/install_tracker.h" 14 #include "chrome/browser/extensions/install_tracker.h"
15 #include "chrome/browser/extensions/install_tracker_factory.h" 15 #include "chrome/browser/extensions/install_tracker_factory.h"
16 #include "chrome/browser/ui/app_list/recommended_apps_observer.h" 16 #include "chrome/browser/ui/app_list/recommended_apps_observer.h"
17 #include "chrome/common/extensions/extension.h"
18 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "extensions/common/extension.h"
19 19
20 namespace app_list { 20 namespace app_list {
21 21
22 namespace { 22 namespace {
23 23
24 struct AppSortInfo { 24 struct AppSortInfo {
25 AppSortInfo() : app(NULL) {} 25 AppSortInfo() : app(NULL) {}
26 AppSortInfo(const extensions::Extension* app, 26 AppSortInfo(const extensions::Extension* app,
27 const base::Time& last_launch_time) 27 const base::Time& last_launch_time)
28 : app(app), last_launch_time(last_launch_time) {} 28 : app(app), last_launch_time(last_launch_time) {}
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 130 }
131 131
132 void RecommendedApps::OnAppsReordered() {} 132 void RecommendedApps::OnAppsReordered() {}
133 133
134 void RecommendedApps::OnAppInstalledToAppList( 134 void RecommendedApps::OnAppInstalledToAppList(
135 const std::string& extension_id) {} 135 const std::string& extension_id) {}
136 136
137 void RecommendedApps::OnShutdown() {} 137 void RecommendedApps::OnShutdown() {}
138 138
139 } // namespace app_list 139 } // namespace app_list
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/extension_uninstaller.cc ('k') | chrome/browser/ui/app_list/search/app_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698