Chromium Code Reviews| Index: chrome/utility/chrome_content_utility_client.cc |
| diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc |
| index 9a129e9a37326f2002d2f87e8ea1fbc728563b9d..4c2ad30c9c7631ebb140b00ce74056cca627e44b 100644 |
| --- a/chrome/utility/chrome_content_utility_client.cc |
| +++ b/chrome/utility/chrome_content_utility_client.cc |
| @@ -82,12 +82,14 @@ bool ChromeContentUtilityClient::OnMessageReceived( |
| IPC_MESSAGE_HANDLER(ChromeUtilityMsg_ParseJSON, OnParseJSON) |
| IPC_MESSAGE_HANDLER(ChromeUtilityMsg_GetPrinterCapsAndDefaults, |
| OnGetPrinterCapsAndDefaults) |
| +#if !defined(OS_ANDROID) |
| IPC_MESSAGE_HANDLER(ProfileImportProcessMsg_StartImport, |
| OnImportStart) |
| IPC_MESSAGE_HANDLER(ProfileImportProcessMsg_CancelImport, |
| OnImportCancel) |
| IPC_MESSAGE_HANDLER(ProfileImportProcessMsg_ReportImportItemFinished, |
| OnImportItemFinished) |
| +#endif |
| IPC_MESSAGE_UNHANDLED(handled = false) |
| IPC_END_MESSAGE_MAP() |
| return handled; |
| @@ -391,6 +393,7 @@ void ChromeContentUtilityClient::OnGetPrinterCapsAndDefaults( |
| content::UtilityThread::Get()->ReleaseProcessIfNeeded(); |
| } |
| +#if !defined(OS_ANDROID) |
| void ChromeContentUtilityClient::OnImportStart( |
|
Yaron
2012/07/16 19:33:39
Does any of this logic actually intermix with the
Philippe
2012/07/17 09:48:27
Done. Good idea!
|
| const importer::SourceProfile& source_profile, |
| uint16 items, |
| @@ -440,5 +443,6 @@ void ChromeContentUtilityClient::ImporterCleanup() { |
| import_thread_.reset(); |
| content::UtilityThread::Get()->ReleaseProcessIfNeeded(); |
| } |
| +#endif |
| } // namespace chrome |