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

Side by Side Diff: chrome/browser/background/background_application_list_model.h

Issue 242613004: Replace NOTIFICATION_EXTENSION_LOADED to NOTIFICATION_EXTENSION_LOADED_DEPRECATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 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
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_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // Notifies observers that some of the data associated with this background 118 // Notifies observers that some of the data associated with this background
119 // application, e. g. the Icon, has changed. 119 // application, e. g. the Icon, has changed.
120 void SendApplicationDataChangedNotifications( 120 void SendApplicationDataChangedNotifications(
121 const extensions::Extension* extension); 121 const extensions::Extension* extension);
122 122
123 // Notifies observers that at least one background application has been added 123 // Notifies observers that at least one background application has been added
124 // or removed. 124 // or removed.
125 void SendApplicationListChangedNotifications(); 125 void SendApplicationListChangedNotifications();
126 126
127 // Invoked by Observe for NOTIFICATION_EXTENSION_LOADED. 127 // Invoked by Observe for NOTIFICATION_EXTENSION_LOADED_DEPRECATED.
128 void OnExtensionLoaded(const extensions::Extension* extension); 128 void OnExtensionLoaded(const extensions::Extension* extension);
129 129
130 // Invoked by Observe for NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED. 130 // Invoked by Observe for NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED.
131 void OnExtensionUnloaded(const extensions::Extension* extension); 131 void OnExtensionUnloaded(const extensions::Extension* extension);
132 132
133 // Invoked by Observe for NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED. 133 // Invoked by Observe for NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED.
134 void OnExtensionPermissionsUpdated( 134 void OnExtensionPermissionsUpdated(
135 const extensions::Extension* extension, 135 const extensions::Extension* extension,
136 extensions::UpdatedExtensionPermissionsInfo::Reason reason, 136 extensions::UpdatedExtensionPermissionsInfo::Reason reason,
137 const extensions::PermissionSet* permissions); 137 const extensions::PermissionSet* permissions);
(...skipping 11 matching lines...) Expand all
149 ApplicationMap applications_; 149 ApplicationMap applications_;
150 extensions::ExtensionList extensions_; 150 extensions::ExtensionList extensions_;
151 ObserverList<Observer, true> observers_; 151 ObserverList<Observer, true> observers_;
152 Profile* profile_; 152 Profile* profile_;
153 content::NotificationRegistrar registrar_; 153 content::NotificationRegistrar registrar_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel); 155 DISALLOW_COPY_AND_ASSIGN(BackgroundApplicationListModel);
156 }; 156 };
157 157
158 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_ 158 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_APPLICATION_LIST_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/extension_app_provider.cc ('k') | chrome/browser/background/background_application_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698