Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: chrome/browser/importer/importer_progress_dialog.h

Issue 9702103: Clean up first run: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_ 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 class ImporterHost; 11 class ImporterHost;
12 class ImporterObserver; 12 class ImporterObserver;
13 class Profile; 13 class Profile;
14 14
15 namespace importer { 15 namespace importer {
16 16
17 struct SourceProfile; 17 struct SourceProfile;
18 18
19 // Shows an UI for importing and begins importing the specified |items| from 19 // Shows an UI for importing and begins importing the specified |items| from
20 // |source_profile| to |target_profile|. |importer_observer| is notified when 20 // |source_profile| to |target_profile|. |importer_observer| is notified when
21 // the process is complete, it can be NULL. |parent_window| is the window to 21 // the process is complete, it can be NULL. |first_run| is true if it's invoked
22 // parent the UI to, it can be NULL if there's nothing to parent to. |first_run| 22 // in the first run UI.
23 // is true if it's invoked in the first run UI. 23 void ShowImportProgressDialog(uint16 items,
24 void ShowImportProgressDialog(gfx::NativeWindow parent_window,
25 uint16 items,
26 ImporterHost* importer_host, 24 ImporterHost* importer_host,
27 ImporterObserver* importer_observer, 25 ImporterObserver* importer_observer,
28 const SourceProfile& source_profile, 26 const SourceProfile& source_profile,
29 Profile* target_profile, 27 Profile* target_profile,
30 bool first_run); 28 bool first_run);
31 29
32 } // namespace importer 30 } // namespace importer
33 31
34 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_ 32 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_win.cc ('k') | chrome/browser/ui/cocoa/importer/import_progress_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698