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_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ |
6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ | 6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_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 29 matching lines...) Expand all Loading... |
40 | 40 |
41 // Used to pass notifications from the browser side to the external process. | 41 // Used to pass notifications from the browser side to the external process. |
42 ExternalProcessImporterClient* client_; | 42 ExternalProcessImporterClient* client_; |
43 | 43 |
44 // Information about a profile needed for importing. | 44 // Information about a profile needed for importing. |
45 const importer::SourceProfile* source_profile_; | 45 const importer::SourceProfile* source_profile_; |
46 | 46 |
47 // Bitmask of items to be imported (see importer::ImportItem enum). | 47 // Bitmask of items to be imported (see importer::ImportItem enum). |
48 uint16 items_; | 48 uint16 items_; |
49 | 49 |
50 // Whether to import bookmarks to the bookmark bar. | |
51 bool import_to_bookmark_bar_; | |
52 | |
53 // True if the import process has been cancelled. | 50 // True if the import process has been cancelled. |
54 bool cancelled_; | 51 bool cancelled_; |
55 | 52 |
56 // True if the import process has been launched. This prevents race | 53 // True if the import process has been launched. This prevents race |
57 // conditions on import cancel. | 54 // conditions on import cancel. |
58 bool import_process_launched_; | 55 bool import_process_launched_; |
59 | 56 |
60 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterHost); | 57 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterHost); |
61 }; | 58 }; |
62 | 59 |
63 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ | 60 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_HOST_H_ |
OLD | NEW |