OLD | NEW |
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_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE; | 43 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE; |
44 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE; | 44 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE; |
45 virtual void ImportEnded() OVERRIDE; | 45 virtual void ImportEnded() OVERRIDE; |
46 | 46 |
47 scoped_refptr<ImporterList> importer_list_; | 47 scoped_refptr<ImporterList> importer_list_; |
48 | 48 |
49 // If non-null it means importing is in progress. ImporterHost takes care | 49 // If non-null it means importing is in progress. ImporterHost takes care |
50 // of deleting itself when import is complete. | 50 // of deleting itself when import is complete. |
51 ImporterHost* importer_host_; // weak | 51 ImporterHost* importer_host_; // weak |
52 | 52 |
| 53 bool import_did_succeed_; |
| 54 |
53 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler); | 55 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler); |
54 }; | 56 }; |
55 | 57 |
56 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ | 58 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ |
OLD | NEW |