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

Side by Side Diff: extensions/browser/notification_types.h

Issue 823703004: Tracking push events for lucid sleep (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Version 2 with NotificationService Created 5 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 5 #ifndef EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
6 #define EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 6 #define EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
7 7
8 #include "content/public/browser/notification_types.h" 8 #include "content/public/browser/notification_types.h"
9 9
10 #if !defined(ENABLE_EXTENSIONS) 10 #if !defined(ENABLE_EXTENSIONS)
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 // The extension updater found an update and will attempt to download and 203 // The extension updater found an update and will attempt to download and
204 // install it. The source is a BrowserContext*, and the details are an 204 // install it. The source is a BrowserContext*, and the details are an
205 // extensions::UpdateDetails object with the extension id and version of the 205 // extensions::UpdateDetails object with the extension id and version of the
206 // found update. 206 // found update.
207 NOTIFICATION_EXTENSION_UPDATE_FOUND, 207 NOTIFICATION_EXTENSION_UPDATE_FOUND,
208 208
209 // Sent when there are new user scripts available. The details are a 209 // Sent when there are new user scripts available. The details are a
210 // pointer to SharedMemory containing the new scripts. 210 // pointer to SharedMemory containing the new scripts.
211 NOTIFICATION_USER_SCRIPTS_UPDATED, 211 NOTIFICATION_USER_SCRIPTS_UPDATED,
212
213 // Sent when a message is dispatched to an extension renderer. The source is
214 // a BrowserContext* the details are an EventRouter::DispatchDetails.
215 NOTIFICATION_EXTENSION_MESSAGE_DISPATCHED,
216
217 // Sent when a previously dispatched message is acked by the extension
218 // renderer. The source is a BrowserContext* and the details are an int
219 // hoding the message id.
Ken Rockot(use gerrit already) 2015/01/08 01:24:02 nit: "holding" I assume
220 NOTIFICATION_EXTENSION_MESSAGE_ACKED,
221
212 NOTIFICATION_EXTENSIONS_END 222 NOTIFICATION_EXTENSIONS_END
213 }; 223 };
214 224
215 } // namespace extensions 225 } // namespace extensions
216 226
217 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 227 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698