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

Side by Side Diff: chrome/browser/ui/app_list/search/app_search_provider.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 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 | 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/search/app_search_provider.h" 5 #include "chrome/browser/ui/app_list/search/app_search_provider.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
11 #include "chrome/browser/extensions/extension_service.h" 11 #include "chrome/browser/extensions/extension_service.h"
12 #include "chrome/browser/extensions/extension_system.h"
13 #include "chrome/browser/extensions/extension_util.h" 12 #include "chrome/browser/extensions/extension_util.h"
14 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/app_list/search/app_result.h" 14 #include "chrome/browser/ui/app_list/search/app_result.h"
16 #include "chrome/browser/ui/app_list/search/tokenized_string.h" 15 #include "chrome/browser/ui/app_list/search/tokenized_string.h"
17 #include "chrome/browser/ui/app_list/search/tokenized_string_match.h" 16 #include "chrome/browser/ui/app_list/search/tokenized_string_match.h"
18 #include "content/public/browser/notification_details.h" 17 #include "content/public/browser/notification_details.h"
19 #include "content/public/browser/notification_source.h" 18 #include "content/public/browser/notification_source.h"
20 #include "extensions/browser/extension_registry.h" 19 #include "extensions/browser/extension_registry.h"
20 #include "extensions/browser/extension_system.h"
21 #include "extensions/common/extension.h" 21 #include "extensions/common/extension.h"
22 #include "extensions/common/extension_set.h" 22 #include "extensions/common/extension_set.h"
23 23
24 using extensions::ExtensionRegistry; 24 using extensions::ExtensionRegistry;
25 25
26 namespace app_list { 26 namespace app_list {
27 27
28 class AppSearchProvider::App { 28 class AppSearchProvider::App {
29 public: 29 public:
30 explicit App(const extensions::Extension* extension) 30 explicit App(const extensions::Extension* extension)
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 AddApps(registry->terminated_extensions()); 101 AddApps(registry->terminated_extensions());
102 } 102 }
103 103
104 void AppSearchProvider::Observe(int type, 104 void AppSearchProvider::Observe(int type,
105 const content::NotificationSource& source, 105 const content::NotificationSource& source,
106 const content::NotificationDetails& detaila) { 106 const content::NotificationDetails& detaila) {
107 RefreshApps(); 107 RefreshApps();
108 } 108 }
109 109
110 } // namespace app_list 110 } // namespace app_list
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/recommended_apps.cc ('k') | chrome/browser/ui/app_list/search/people/people_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698