Chromium Code Reviews| 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_; |
|
Yaron
2012/07/18 15:30:39
Why bother with a scoped_ptr? this has the same li
Philippe
2012/07/18 16:01:17
This was used initially to hide ProfileImportHandl
|
| }; |
| } // namespace chrome |