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

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

Issue 1465853002: Implement support for importing favorites from Edge on Windows 10. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing include files Created 5 years 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 62efb3d6c4bd3070449efe8ee49f67d1bd2523b0..6140d5708fc8705e55353161409d931dd32e9ab7 100644
--- a/chrome/common/importer/profile_import_process_param_traits_macros.h
+++ b/chrome/common/importer/profile_import_process_param_traits_macros.h
@@ -25,9 +25,15 @@
#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"
+#if defined(OS_WIN)
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(importer::ImporterType,
+ importer::TYPE_UNKNOWN,
+ importer::TYPE_EDGE)
+#else
IPC_ENUM_TRAITS_MIN_MAX_VALUE(importer::ImporterType,
importer::TYPE_UNKNOWN,
importer::TYPE_BOOKMARKS_FILE)
+#endif
IPC_STRUCT_TRAITS_BEGIN(importer::SourceProfile)
IPC_STRUCT_TRAITS_MEMBER(importer_name)

Powered by Google App Engine
This is Rietveld 408576698