Chromium Code Reviews| Index: chrome/browser/printing/print_preview_tab_controller.h |
| diff --git a/chrome/browser/printing/print_preview_tab_controller.h b/chrome/browser/printing/print_preview_tab_controller.h |
| index 90e0a0f5a31f1cd5eda26adb1c9adb2ee21381d2..7c030163b93bbf3e9c7a5da33eac0833b59b90c5 100644 |
| --- a/chrome/browser/printing/print_preview_tab_controller.h |
| +++ b/chrome/browser/printing/print_preview_tab_controller.h |
| @@ -60,6 +60,9 @@ class PrintPreviewTabController |
| // Returns true if |tab| is a print preview tab. |
| static bool IsPrintPreviewTab(TabContents* tab); |
| + // Erase the initiator tab info associated with |preview_tab|. |
| + void EraseInitiatorTabInfo(TabContents* preview_tab); |
|
Lei Zhang
2011/06/09 09:54:55
Can we add a unit test for this? Should be easy.
kmadhusu
2011/06/09 18:11:44
Done.
|
| + |
| private: |
| friend class base::RefCounted<PrintPreviewTabController>; |