OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/prefs/pref_change_registrar.h" | |
15 #include "chrome/browser/extensions/install_observer.h" | 14 #include "chrome/browser/extensions/install_observer.h" |
16 #include "chrome/browser/ui/app_list/app_list_model_builder.h" | 15 #include "chrome/browser/ui/app_list/app_list_model_builder.h" |
| 16 #include "components/prefs/pref_change_registrar.h" |
17 #include "extensions/browser/extension_registry_observer.h" | 17 #include "extensions/browser/extension_registry_observer.h" |
18 #include "ui/base/models/list_model_observer.h" | 18 #include "ui/base/models/list_model_observer.h" |
19 | 19 |
20 class AppListControllerDelegate; | 20 class AppListControllerDelegate; |
21 class ExtensionAppItem; | 21 class ExtensionAppItem; |
22 | 22 |
23 namespace extensions { | 23 namespace extensions { |
24 class Extension; | 24 class Extension; |
25 class ExtensionRegistry; | 25 class ExtensionRegistry; |
26 class ExtensionSet; | 26 class ExtensionSet; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // We listen to this to show app installing progress. | 105 // We listen to this to show app installing progress. |
106 extensions::InstallTracker* tracker_ = nullptr; | 106 extensions::InstallTracker* tracker_ = nullptr; |
107 | 107 |
108 // Listen extension's load, unload, uninstalled. | 108 // Listen extension's load, unload, uninstalled. |
109 extensions::ExtensionRegistry* extension_registry_ = nullptr; | 109 extensions::ExtensionRegistry* extension_registry_ = nullptr; |
110 | 110 |
111 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); | 111 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); |
112 }; | 112 }; |
113 | 113 |
114 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ | 114 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ |
OLD | NEW |