Chromium Code Reviews| Index: chrome/browser/browser_process.h |
| diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h |
| index af1b13ebe66bb57e25e5bb366a966cbd17be65da..57ff79946ec3a985a8025183f9831fd3a49deb9b 100644 |
| --- a/chrome/browser/browser_process.h |
| +++ b/chrome/browser/browser_process.h |
| @@ -55,6 +55,12 @@ namespace extensions { |
| class EventRouterForwarder; |
| } |
| +#if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH) |
|
sky
2013/01/22 21:46:39
Why do we need the !ASH here? Can we instead set E
|
| +namespace message_center { |
| +class MessageCenter; |
| +} |
| +#endif |
| + |
| namespace net { |
| class URLRequestContextGetter; |
| } |
| @@ -112,6 +118,11 @@ class BrowserProcess { |
| // Returns the manager for desktop notifications. |
| virtual NotificationUIManager* notification_ui_manager() = 0; |
| +#if defined(ENABLE_MESSAGE_CENTER) && !defined(USE_ASH) |
| + // MessageCenter is a global list of currently displayed notifications. |
| + virtual message_center::MessageCenter* message_center() = 0; |
| +#endif |
| + |
| // Returns the state object for the thread that we perform I/O |
| // coordination on (network requests, communication with renderers, |
| // etc. |