| 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 // 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" |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 366 |
| 367 } // namespace IPC | 367 } // namespace IPC |
| 368 | 368 |
| 369 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ | 369 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ |
| 370 | 370 |
| 371 #define IPC_MESSAGE_START ProfileImportMsgStart | 371 #define IPC_MESSAGE_START ProfileImportMsgStart |
| 372 | 372 |
| 373 //----------------------------------------------------------------------------- | 373 //----------------------------------------------------------------------------- |
| 374 // ProfileImportProcess messages | 374 // ProfileImportProcess messages |
| 375 // These are messages sent from the browser to the profile import process. | 375 // These are messages sent from the browser to the profile import process. |
| 376 IPC_MESSAGE_CONTROL4(ProfileImportProcessMsg_StartImport, | 376 IPC_MESSAGE_CONTROL3(ProfileImportProcessMsg_StartImport, |
| 377 importer::SourceProfile, | 377 importer::SourceProfile, |
| 378 int /* Bitmask of items to import. */, | 378 int /* Bitmask of items to import. */, |
| 379 DictionaryValue /* Localized strings. */, | 379 DictionaryValue /* Localized strings. */) |
| 380 bool /* Import to bookmark bar. */) | |
| 381 | 380 |
| 382 IPC_MESSAGE_CONTROL0(ProfileImportProcessMsg_CancelImport) | 381 IPC_MESSAGE_CONTROL0(ProfileImportProcessMsg_CancelImport) |
| 383 | 382 |
| 384 IPC_MESSAGE_CONTROL1(ProfileImportProcessMsg_ReportImportItemFinished, | 383 IPC_MESSAGE_CONTROL1(ProfileImportProcessMsg_ReportImportItemFinished, |
| 385 int /* ImportItem */) | 384 int /* ImportItem */) |
| 386 | 385 |
| 387 //--------------------------------------------------------------------------- | 386 //--------------------------------------------------------------------------- |
| 388 // ProfileImportProcessHost messages | 387 // ProfileImportProcessHost messages |
| 389 // These are messages sent from the profile import process to the browser. | 388 // These are messages sent from the profile import process to the browser. |
| 390 // These messages send information about the status of the import and | 389 // These messages send information about the status of the import and |
| (...skipping 16 matching lines...) Expand all Loading... |
| 407 int /* total number of history::URLRow items */) | 406 int /* total number of history::URLRow items */) |
| 408 | 407 |
| 409 IPC_MESSAGE_CONTROL2(ProfileImportProcessHostMsg_NotifyHistoryImportGroup, | 408 IPC_MESSAGE_CONTROL2(ProfileImportProcessHostMsg_NotifyHistoryImportGroup, |
| 410 std::vector<history::URLRow>, | 409 std::vector<history::URLRow>, |
| 411 int /* the source of URLs as in history::VisitSource.*/ | 410 int /* the source of URLs as in history::VisitSource.*/ |
| 412 /* To simplify IPC call, pass as an integer */) | 411 /* To simplify IPC call, pass as an integer */) |
| 413 | 412 |
| 414 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyHomePageImportReady, | 413 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyHomePageImportReady, |
| 415 GURL /* GURL of home page */) | 414 GURL /* GURL of home page */) |
| 416 | 415 |
| 417 IPC_MESSAGE_CONTROL3(ProfileImportProcessHostMsg_NotifyBookmarksImportStart, | 416 IPC_MESSAGE_CONTROL2(ProfileImportProcessHostMsg_NotifyBookmarksImportStart, |
| 418 string16 /* first folder name */, | 417 string16 /* first folder name */, |
| 419 int /* options */, | |
| 420 int /* total number of bookmarks */) | 418 int /* total number of bookmarks */) |
| 421 | 419 |
| 422 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyBookmarksImportGroup, | 420 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyBookmarksImportGroup, |
| 423 std::vector<ProfileWriter::BookmarkEntry>) | 421 std::vector<ProfileWriter::BookmarkEntry>) |
| 424 | 422 |
| 425 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportStart, | 423 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportStart, |
| 426 int /* total number of favicons */) | 424 int /* total number of favicons */) |
| 427 | 425 |
| 428 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportGroup, | 426 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportGroup, |
| 429 std::vector<history::ImportedFaviconUsage>) | 427 std::vector<history::ImportedFaviconUsage>) |
| 430 | 428 |
| 431 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyPasswordFormReady, | 429 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyPasswordFormReady, |
| 432 webkit_glue::PasswordForm) | 430 webkit_glue::PasswordForm) |
| 433 | 431 |
| 434 IPC_MESSAGE_CONTROL3(ProfileImportProcessHostMsg_NotifyKeywordsReady, | 432 IPC_MESSAGE_CONTROL3(ProfileImportProcessHostMsg_NotifyKeywordsReady, |
| 435 std::vector<TemplateURL>, | 433 std::vector<TemplateURL>, |
| 436 int, /* default keyword index */ | 434 int, /* default keyword index */ |
| 437 bool /* unique on host and path */) | 435 bool /* unique on host and path */) |
| OLD | NEW |