| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included message file, no traditonal include guard. | 5 // Multiply-included message file, no traditonal include guard. |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "chrome/browser/history/history_types.h" | 12 #include "chrome/browser/history/history_types.h" |
| 13 #include "chrome/browser/importer/importer_data_types.h" | 13 #include "chrome/browser/importer/importer_data_types.h" |
| 14 #include "chrome/browser/importer/profile_writer.h" | 14 #include "chrome/browser/importer/profile_writer.h" |
| 15 #include "chrome/browser/search_engines/template_url.h" | 15 #include "chrome/browser/search_engines/template_url.h" |
| 16 #include "chrome/common/common_param_traits_macros.h" | 16 #include "chrome/common/common_param_traits_macros.h" |
| 17 #include "content/public/common/common_param_traits.h" | 17 #include "content/public/common/common_param_traits.h" |
| 18 #include "content/public/common/password_form.h" |
| 18 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
| 19 #include "ipc/ipc_message_utils.h" | 20 #include "ipc/ipc_message_utils.h" |
| 20 #include "webkit/forms/password_form.h" | |
| 21 | 21 |
| 22 #ifndef CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ | 22 #ifndef CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ |
| 23 #define CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ | 23 #define CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ |
| 24 | 24 |
| 25 namespace IPC { | 25 namespace IPC { |
| 26 | 26 |
| 27 // Traits for importer::SourceProfile struct to pack/unpack. | 27 // Traits for importer::SourceProfile struct to pack/unpack. |
| 28 template <> | 28 template <> |
| 29 struct ParamTraits<importer::SourceProfile> { | 29 struct ParamTraits<importer::SourceProfile> { |
| 30 typedef importer::SourceProfile param_type; | 30 typedef importer::SourceProfile param_type; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyBookmarksImportGroup, | 324 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyBookmarksImportGroup, |
| 325 std::vector<ProfileWriter::BookmarkEntry>) | 325 std::vector<ProfileWriter::BookmarkEntry>) |
| 326 | 326 |
| 327 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportStart, | 327 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportStart, |
| 328 int /* total number of favicons */) | 328 int /* total number of favicons */) |
| 329 | 329 |
| 330 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportGroup, | 330 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportGroup, |
| 331 std::vector<history::ImportedFaviconUsage>) | 331 std::vector<history::ImportedFaviconUsage>) |
| 332 | 332 |
| 333 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyPasswordFormReady, | 333 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyPasswordFormReady, |
| 334 webkit::forms::PasswordForm) | 334 content::PasswordForm) |
| 335 | 335 |
| 336 // WARNING: The TemplateURL*s in the following message get heap-allocated on the | 336 // WARNING: The TemplateURL*s in the following message get heap-allocated on the |
| 337 // receiving end. The message handler for this message MUST take ownership of | 337 // receiving end. The message handler for this message MUST take ownership of |
| 338 // these pointers and ensure they're properly freed! | 338 // these pointers and ensure they're properly freed! |
| 339 IPC_MESSAGE_CONTROL2(ProfileImportProcessHostMsg_NotifyKeywordsReady, | 339 IPC_MESSAGE_CONTROL2(ProfileImportProcessHostMsg_NotifyKeywordsReady, |
| 340 std::vector<TemplateURL*>, | 340 std::vector<TemplateURL*>, |
| 341 bool /* unique on host and path */) | 341 bool /* unique on host and path */) |
| OLD | NEW |