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

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 12298015: Change NotifyAppList*() functions into observers on a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
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_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 // Sent when an app is installed and an NTP has been shown. Source is the 1139 // Sent when an app is installed and an NTP has been shown. Source is the
1140 // WebContents that was shown, and Details is the string ID of the extension 1140 // WebContents that was shown, and Details is the string ID of the extension
1141 // which was installed. 1141 // which was installed.
1142 NOTIFICATION_APP_INSTALLED_TO_NTP, 1142 NOTIFICATION_APP_INSTALLED_TO_NTP,
1143 1143
1144 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList 1144 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList
1145 // about installed app. Source is the profile in which the app is installed 1145 // about installed app. Source is the profile in which the app is installed
1146 // and Details is the string ID of the extension. 1146 // and Details is the string ID of the extension.
1147 NOTIFICATION_APP_INSTALLED_TO_APPLIST, 1147 NOTIFICATION_APP_INSTALLED_TO_APPLIST,
1148 1148
1149 // Sent when an extension begins installing. The details are an
1150 // ExtensionInstallingDetails, and the source is a Profile.
1151 NOTIFICATION_EXTENSION_INSTALL_BEGIN,
1152
1153 // Sent when an extension fails to install. The details are an extension id.
1154 NOTIFICATION_EXTENSION_INSTALL_FAIL,
1155
1156 // Sent when an extension installation makes progress. The details are a
1157 // std::pair<std::string, int> - the extension id and the percent complete.
1158 NOTIFICATION_EXTENSION_INSTALL_PROGRESS,
1159
1149 #if defined(USE_ASH) 1160 #if defined(USE_ASH)
1150 // Sent when wallpaper show animation has finished. 1161 // Sent when wallpaper show animation has finished.
1151 NOTIFICATION_WALLPAPER_ANIMATION_FINISHED, 1162 NOTIFICATION_WALLPAPER_ANIMATION_FINISHED,
1152 #endif 1163 #endif
1153 1164
1154 #if defined(OS_CHROMEOS) 1165 #if defined(OS_CHROMEOS)
1155 // Sent when WebSocketProxy started accepting connections; details is integer 1166 // Sent when WebSocketProxy started accepting connections; details is integer
1156 // port on which proxy is listening. 1167 // port on which proxy is listening.
1157 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, 1168 NOTIFICATION_WEB_SOCKET_PROXY_STARTED,
1158 #endif 1169 #endif
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 // Currently only Content and Chrome define and use notifications. 1264 // Currently only Content and Chrome define and use notifications.
1254 // Custom notifications not belonging to Content and Chrome should start 1265 // Custom notifications not belonging to Content and Chrome should start
1255 // from here. 1266 // from here.
1256 NOTIFICATION_CHROME_END, 1267 NOTIFICATION_CHROME_END,
1257 }; 1268 };
1258 1269
1259 } // namespace chrome 1270 } // namespace chrome
1260 1271
1261 1272
1262 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1273 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698