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

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

Issue 674273002: Cleanup: Remove unneeded chrome/common/pref_names.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
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_ui_util.h" 11 #include "chrome/browser/extensions/extension_ui_util.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/app_list/recommended_apps_observer.h" 13 #include "chrome/browser/ui/app_list/recommended_apps_observer.h"
14 #include "chrome/common/pref_names.h"
15 #include "extensions/browser/extension_prefs.h" 14 #include "extensions/browser/extension_prefs.h"
16 #include "extensions/browser/extension_registry.h" 15 #include "extensions/browser/extension_registry.h"
17 #include "extensions/browser/pref_names.h" 16 #include "extensions/browser/pref_names.h"
18 #include "extensions/common/extension.h" 17 #include "extensions/common/extension.h"
19 #include "extensions/common/extension_set.h" 18 #include "extensions/common/extension_set.h"
20 19
21 namespace app_list { 20 namespace app_list {
22 21
23 namespace { 22 namespace {
24 23
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 116 }
118 117
119 void RecommendedApps::OnExtensionUninstalled( 118 void RecommendedApps::OnExtensionUninstalled(
120 content::BrowserContext* browser_context, 119 content::BrowserContext* browser_context,
121 const extensions::Extension* extension, 120 const extensions::Extension* extension,
122 extensions::UninstallReason reason) { 121 extensions::UninstallReason reason) {
123 Update(); 122 Update();
124 } 123 }
125 124
126 } // namespace app_list 125 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698