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

Unified Diff: chrome/common/importer/profile_import_process_param_traits_macros.h

Issue 2470283002: Convert profile import IPCs to Mojo (Closed)
Patch Set: Address review comments Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/importer/profile_import_process_param_traits_macros.h
diff --git a/chrome/common/importer/profile_import_process_param_traits_macros.h b/chrome/common/importer/profile_import_process_param_traits_macros.h
index 8e8b0c656dfbf809f41f7d5cf46c498de95097e3..eb4b00d6ed6af19c4fc998e81dab735db63484e9 100644
--- a/chrome/common/importer/profile_import_process_param_traits_macros.h
+++ b/chrome/common/importer/profile_import_process_param_traits_macros.h
@@ -35,6 +35,10 @@ IPC_ENUM_TRAITS_MIN_MAX_VALUE(importer::ImporterType,
importer::TYPE_BOOKMARKS_FILE)
#endif
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(importer::ImportItem,
+ importer::NONE,
+ importer::ALL)
+
IPC_STRUCT_TRAITS_BEGIN(importer::SourceProfile)
IPC_STRUCT_TRAITS_MEMBER(importer_name)
IPC_STRUCT_TRAITS_MEMBER(importer_type)
@@ -82,12 +86,10 @@ IPC_STRUCT_TRAITS_BEGIN(ImporterAutofillFormDataEntry)
IPC_STRUCT_TRAITS_MEMBER(last_used)
IPC_STRUCT_TRAITS_END()
-#if defined(OS_WIN)
IPC_STRUCT_TRAITS_BEGIN(importer::ImporterIE7PasswordInfo)
IPC_STRUCT_TRAITS_MEMBER(url_hash)
IPC_STRUCT_TRAITS_MEMBER(encrypted_data)
IPC_STRUCT_TRAITS_MEMBER(date_created)
IPC_STRUCT_TRAITS_END()
-#endif
#endif // CHROME_COMMON_IMPORTER_PROFILE_IMPORT_PROCESS_PARAM_TRAITS_MACROS_H_

Powered by Google App Engine
This is Rietveld 408576698