Chromium Code Reviews| Index: chrome/browser/dom_ui/dom_ui.h |
| diff --git a/chrome/browser/dom_ui/dom_ui.h b/chrome/browser/dom_ui/dom_ui.h |
| index a74186d961ad0ac2d458bf2ca97befc9265f2012..717773a5ed9c84eaa5efbf4ffdf15c95f0259cc9 100644 |
| --- a/chrome/browser/dom_ui/dom_ui.h |
| +++ b/chrome/browser/dom_ui/dom_ui.h |
| @@ -130,6 +130,9 @@ class DOMUI { |
| // May be overridden by DOMUI's which do not have a tab contents. |
| virtual Profile* GetProfile() const; |
| + // Convenience function for UI that requires access to the original profile. |
|
akalin
2011/01/13 04:38:42
I think there's no need for this -- GetProfileSync
stevenjb
2011/01/13 18:00:49
OK, I wasn't sure if this mattered. Definitely bet
|
| + Profile* GetOriginalProfile() const; |
| + |
| // May be overridden by DOMUI's which do not have a tab contents. |
| virtual RenderViewHost* GetRenderViewHost() const; |