summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer/importer_progress_dialog.h
blob: f2548fb40a75fa31dd49e601dfdee2fbf6a1495a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_
#define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_

#include "ui/gfx/native_widget_types.h"

class ImporterHost;
class ImporterObserver;
class Profile;

namespace importer {

struct SourceProfile;

// Shows an UI for importing and begins importing the specified |items| from
// |source_profile| to |target_profile|. |importer_observer| is notified when
// the process is complete, it can be NULL. |first_run| is true if it's invoked
// in the first run UI.
void ShowImportProgressDialog(uint16 items,
                              ImporterHost* importer_host,
                              ImporterObserver* importer_observer,
                              const SourceProfile& source_profile,
                              Profile* target_profile,
                              bool first_run);

}  // namespace importer

#endif  // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_DIALOG_H_