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

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

Issue 6979007: Many fixes to bookmark importing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Happy tests =) Created 9 years, 7 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
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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/importer/external_process_importer_client.cc ('k') | chrome/browser/importer/external_process_importer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698