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_APPS_MODEL_BUILDER_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 11 #include "base/prefs/public/pref_change_registrar.h" |
12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
14 #include "ui/app_list/app_list_model.h" | 14 #include "ui/app_list/app_list_model.h" |
15 #include "ui/base/models/list_model_observer.h" | 15 #include "ui/base/models/list_model_observer.h" |
16 | 16 |
17 class AppListControllerDelegate; | 17 class AppListControllerDelegate; |
18 class ExtensionAppItem; | 18 class ExtensionAppItem; |
19 class Profile; | 19 class Profile; |
20 | 20 |
21 class AppsModelBuilder : public content::NotificationObserver, | 21 class AppsModelBuilder : public content::NotificationObserver, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // True to ignore |model_| changes. | 73 // True to ignore |model_| changes. |
74 bool ignore_changes_; | 74 bool ignore_changes_; |
75 | 75 |
76 content::NotificationRegistrar registrar_; | 76 content::NotificationRegistrar registrar_; |
77 PrefChangeRegistrar pref_change_registrar_; | 77 PrefChangeRegistrar pref_change_registrar_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(AppsModelBuilder); | 79 DISALLOW_COPY_AND_ASSIGN(AppsModelBuilder); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ | 82 #endif // CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ |
OLD | NEW |