Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / importer / importer_progress_observer.h
blobb033af88e557a11548a2df2992175be1d1fcb7bd
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_
8 #include "chrome/common/importer/importer_data_types.h"
10 namespace importer {
12 // Objects implement this interface when they wish to be notified of events
13 // during the import process.
14 class ImporterProgressObserver {
15 public:
16 // Invoked when the import begins.
17 virtual void ImportStarted() = 0;
19 // Invoked when data for the specified item is about to be collected.
20 virtual void ImportItemStarted(ImportItem item) = 0;
22 // Invoked when data for the specified item has been collected from the
23 // source profile and is now ready for further processing.
24 virtual void ImportItemEnded(ImportItem item) = 0;
26 // Invoked when the source profile has been imported.
27 virtual void ImportEnded() = 0;
29 protected:
30 virtual ~ImporterProgressObserver() {}
33 } // namespace importer
35 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_