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

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

Issue 18555005: Move importer messages to common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
« no previous file with comments | « chrome/browser/importer/importer_list.cc ('k') | chrome/browser/importer/importer_type.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_ 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_
7 7
8 #include "chrome/browser/importer/importer_data_types.h" 8 #include "chrome/common/importer/importer_data_types.h"
9 9
10 namespace importer { 10 namespace importer {
11 11
12 // Objects implement this interface when they wish to be notified of events 12 // Objects implement this interface when they wish to be notified of events
13 // during the import process. 13 // during the import process.
14 class ImporterProgressObserver { 14 class ImporterProgressObserver {
15 public: 15 public:
16 // Invoked when the import begins. 16 // Invoked when the import begins.
17 virtual void ImportStarted() = 0; 17 virtual void ImportStarted() = 0;
18 18
19 // Invoked when data for the specified item is about to be collected. 19 // Invoked when data for the specified item is about to be collected.
20 virtual void ImportItemStarted(ImportItem item) = 0; 20 virtual void ImportItemStarted(ImportItem item) = 0;
21 21
22 // Invoked when data for the specified item has been collected from the 22 // Invoked when data for the specified item has been collected from the
23 // source profile and is now ready for further processing. 23 // source profile and is now ready for further processing.
24 virtual void ImportItemEnded(ImportItem item) = 0; 24 virtual void ImportItemEnded(ImportItem item) = 0;
25 25
26 // Invoked when the source profile has been imported. 26 // Invoked when the source profile has been imported.
27 virtual void ImportEnded() = 0; 27 virtual void ImportEnded() = 0;
28 28
29 protected: 29 protected:
30 virtual ~ImporterProgressObserver() {} 30 virtual ~ImporterProgressObserver() {}
31 }; 31 };
32 32
33 } // namespace importer 33 } // namespace importer
34 34
35 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_ 35 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_PROGRESS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_list.cc ('k') | chrome/browser/importer/importer_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698