| Index: chrome/browser/extensions/system/system_api.h
|
| diff --git a/chrome/browser/extensions/system/system_api.h b/chrome/browser/extensions/system/system_api.h
|
| index 5e26978d8aa8107d4d47752836e0c5b29a1b0560..1eb2de4a342d9b2aae7191dec1804b9e47dc8d79 100644
|
| --- a/chrome/browser/extensions/system/system_api.h
|
| +++ b/chrome/browser/extensions/system/system_api.h
|
| @@ -35,10 +35,25 @@ class GetUpdateStatusFunction : public SyncExtensionFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -void DispatchBrightnessChangedEvent(int brightness, bool user_initiated);
|
| -void DispatchVolumeChangedEvent(double volume, bool is_volume_muted);
|
| -void DispatchScreenUnlockedEvent();
|
| -void DispatchWokeUpEvent();
|
| +// Dispatches systemPrivate.onBrightnessChanged event for extensions.
|
| +// |profile| is used to get extensions::EventRouter.
|
| +void DispatchBrightnessChangedEvent(Profile* profile,
|
| + int brightness,
|
| + bool user_initiated);
|
| +
|
| +// Dispatches systemPrivate.onVolumeChanged event for extensions.
|
| +// |profile| is used to get extensions::EventRouter.
|
| +void DispatchVolumeChangedEvent(Profile* profile,
|
| + double volume,
|
| + bool is_volume_muted);
|
| +
|
| +// Dispatches systemPrivate.onScreenChanged event for extensions.
|
| +// |profile| is used to get extensions::EventRouter.
|
| +void DispatchScreenUnlockedEvent(Profile* profile);
|
| +
|
| +// Dispatches systemPrivate.onWokeUp event for extensions.
|
| +// |profile| is used to get extensions::EventRouter.
|
| +void DispatchWokeUpEvent(Profile* profile);
|
|
|
| } // namespace extensions
|
|
|
|
|