OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ |
6 #define CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "chrome/browser/importer/importer.h" | 10 #include "chrome/browser/importer/importer.h" |
11 #include "chrome/browser/importer/importer_data_types.h" | 11 #include "chrome/common/importer_data_types.h" |
12 | 12 |
13 class Profile; | 13 class Profile; |
14 | 14 |
15 class ImportProgressDialogGtk : public ImporterHost::Observer { | 15 class ImportProgressDialogGtk : public ImporterHost::Observer { |
16 public: | 16 public: |
17 // Displays the import progress dialog box and starts the import | 17 // Displays the import progress dialog box and starts the import |
18 static void StartImport(GtkWindow* parent, int16 items, | 18 static void StartImport(GtkWindow* parent, int16 items, |
19 ImporterHost* importer_host, | 19 ImporterHost* importer_host, |
20 const ProfileInfo& browser_profile, | 20 const ProfileInfo& browser_profile, |
21 Profile* profile, | 21 Profile* profile, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // Items to import from the other browser. | 73 // Items to import from the other browser. |
74 int16 items_; | 74 int16 items_; |
75 | 75 |
76 // Utility class that does the actual import. | 76 // Utility class that does the actual import. |
77 scoped_refptr<ImporterHost> importer_host_; | 77 scoped_refptr<ImporterHost> importer_host_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(ImportProgressDialogGtk); | 79 DISALLOW_COPY_AND_ASSIGN(ImportProgressDialogGtk); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ | 82 #endif // CHROME_BROWSER_GTK_IMPORT_PROGRESS_DIALOG_GTK_H_ |
OLD | NEW |