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

Side by Side Diff: chrome/browser/ui/app_list/apps_model_builder.h

Issue 11243002: Move the bits of Prefs where production code has only trivially easy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, fix gypi problem Created 8 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 | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/alternate_error_tab_observer.h ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698