summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/importer_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/importer_view.h')
-rw-r--r--chrome/browser/views/importer_view.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/views/importer_view.h b/chrome/browser/views/importer_view.h
index 88a07cb..ac1bc20 100644
--- a/chrome/browser/views/importer_view.h
+++ b/chrome/browser/views/importer_view.h
@@ -30,7 +30,9 @@ class ImporterView : public views::View,
public views::Combobox::Listener,
public ImportObserver {
public:
- explicit ImporterView(Profile* profile);
+ // Creates a new ImporterView. |initial_state| is a bitmask of ImportItems.
+ // Each checkbox for the bits in |initial_state| is checked.
+ ImporterView(Profile* profile, int initial_state);
virtual ~ImporterView();
// Overridden from views::View.
@@ -88,6 +90,9 @@ class ImporterView : public views::View,
// selected item in the combo-box.
std::vector<uint16> checkbox_items_;
+ // Initial state of the checkbox_items_.
+ uint16 initial_state_;
+
Profile* profile_;
DISALLOW_EVIL_CONSTRUCTORS(ImporterView);