Index: chrome/browser/printing/print_preview_tab_controller.h |
=================================================================== |
--- chrome/browser/printing/print_preview_tab_controller.h (revision 105275) |
+++ chrome/browser/printing/print_preview_tab_controller.h (working copy) |
@@ -14,6 +14,7 @@ |
#pragma once |
#include <map> |
+#include <vector> |
kmadhusu
2011/10/13 18:52:18
Why do you need a vector here?
Lei Zhang
2011/10/13 21:12:12
Removed.
|
#include "base/memory/ref_counted.h" |
#include "chrome/browser/sessions/session_id.h" |
@@ -104,6 +105,10 @@ |
void AddObservers(TabContentsWrapper* tab); |
void RemoveObservers(TabContentsWrapper* tab); |
+ // Removes tabs when they close/crash/navigate. |
+ void RemoveInitiatorTab(TabContentsWrapper* initiator_tab); |
+ void RemovePreviewTab(TabContentsWrapper* preview_tab); |
+ |
// Mapping between print preview tab and the corresponding initiator tab. |
PrintPreviewTabMap preview_tab_map_; |