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

Unified Diff: chrome/utility/chrome_content_utility_client.cc

Issue 10777012: Disable uses of ProfileImportProcess on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months 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
« no previous file with comments | « chrome/utility/chrome_content_utility_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/utility/chrome_content_utility_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698