| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | |
| 12 #include "base/prefs/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
| 13 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
| 14 #include "chrome/browser/extensions/install_observer.h" | 13 #include "chrome/browser/extensions/install_observer.h" |
| 15 #include "extensions/browser/extension_registry_observer.h" | 14 #include "extensions/browser/extension_registry_observer.h" |
| 16 #include "ui/app_list/app_list_model.h" | 15 #include "ui/app_list/app_list_model.h" |
| 17 #include "ui/base/models/list_model_observer.h" | 16 #include "ui/base/models/list_model_observer.h" |
| 18 | 17 |
| 19 class AppListControllerDelegate; | 18 class AppListControllerDelegate; |
| 20 class ExtensionAppItem; | 19 class ExtensionAppItem; |
| 21 class Profile; | 20 class Profile; |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 // We listen to this to show app installing progress. | 129 // We listen to this to show app installing progress. |
| 131 extensions::InstallTracker* tracker_; | 130 extensions::InstallTracker* tracker_; |
| 132 | 131 |
| 133 // Listen extension's load, unload, uninstalled. | 132 // Listen extension's load, unload, uninstalled. |
| 134 extensions::ExtensionRegistry* extension_registry_; | 133 extensions::ExtensionRegistry* extension_registry_; |
| 135 | 134 |
| 136 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); | 135 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); |
| 137 }; | 136 }; |
| 138 | 137 |
| 139 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ | 138 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ |
| OLD | NEW |