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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 10777012: Disable uses of ProfileImportProcess on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build error on Clang 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/common/all_messages.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/chrome_content_utility_client.h
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index b028636d057416f6fd754b5aceb12048eedd0636..fb82afa2cb5a7402159bd319b7f44692e8aa268a 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -6,7 +6,6 @@
#define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/platform_file.h"
#include "content/public/utility/content_utility_client.h"
@@ -35,6 +34,8 @@ struct PageRange;
namespace chrome {
+class ProfileImportHandler;
+
class ChromeContentUtilityClient : public content::ContentUtilityClient {
public:
ChromeContentUtilityClient();
@@ -77,29 +78,7 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
void OnGetPrinterCapsAndDefaults(const std::string& printer_name);
- void OnImportStart(
- const importer::SourceProfile& source_profile,
- uint16 items,
- const base::DictionaryValue& localized_strings);
- void OnImportCancel();
- void OnImportItemFinished(uint16 item);
-
- // The following are used with out of process profile import:
- void ImporterCleanup();
-
- // Thread that importer runs on, while ProfileImportThread handles messages
- // from the browser process.
- scoped_ptr<base::Thread> import_thread_;
-
- // Bridge object is passed to importer, so that it can send IPC calls
- // directly back to the ProfileImportProcessHost.
- scoped_refptr<ExternalProcessImporterBridge> bridge_;
-
- // A bitmask of importer::ImportItem.
- uint16 items_to_import_;
-
- // Importer of the appropriate type (Firefox, Safari, IE, etc.)
- scoped_refptr<Importer> importer_;
+ scoped_ptr<ProfileImportHandler> import_handler_;
};
} // namespace chrome
« no previous file with comments | « chrome/common/all_messages.h ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698