Chromium Code Reviews| Index: content/public/browser/browser_thread.h |
| diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h |
| index 8daa0dbc916b501356734f8c73dbdc14275dd1b3..6d622873424887cef1366f739f0c9677dbcd24eb 100644 |
| --- a/content/public/browser/browser_thread.h |
| +++ b/content/public/browser/browser_thread.h |
| @@ -20,6 +20,9 @@ namespace base { |
| class MessageLoop; |
| class SequencedWorkerPool; |
| class Thread; |
| +#if defined(OS_CHROMEOS) |
| +class MemoryPressureObserverChromeOS; |
| +#endif |
| } |
| namespace content { |
| @@ -152,6 +155,10 @@ class CONTENT_EXPORT BrowserThread { |
| from_here, object); |
| } |
| +#if defined(OS_CHROMEOS) |
| + static base::MemoryPressureObserverChromeOS* GetMemoryPressureObserver(); |
| +#endif |
|
piman
2014/12/20 02:53:15
This doesn't really look like it belongs to Browse
Mr4D (OOO till 08-26)
2014/12/20 03:01:05
Sure - we could also do it that way. Do you prefer
piman
2014/12/20 03:05:17
I think I would prefer top-level free.
This doesn'
Mr4D (OOO till 08-26)
2015/01/06 22:22:06
Done that way.
However - I still believe that thi
|
| + |
| // Simplified wrappers for posting to the blocking thread pool. Use this |
| // for doing things like blocking I/O. |
| // |