blob: 3cb8adeb47ab5e05f3d8f67266c9a4d30c220360 (
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
32
|
// 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_
#pragma once
#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_
|