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

Unified Diff: chrome/browser/importer/external_process_importer_bridge.h

Issue 8726023: Remove ChildThread dependency from Chrome. In the future we might want to expose it as an interfa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « no previous file | chrome/browser/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/external_process_importer_bridge.h
===================================================================
--- chrome/browser/importer/external_process_importer_bridge.h (revision 111804)
+++ chrome/browser/importer/external_process_importer_bridge.h (working copy)
@@ -13,13 +13,10 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/importer/importer_bridge.h"
#include "chrome/browser/importer/profile_writer.h"
+#include "ipc/ipc_message.h"
Dirk Pranke 2011/11/29 01:27:24 Can't you forward-declare IPC::Message:;Sender her
jam 2011/11/29 01:46:13 unfortunately we can't forward declare it because
class GURL;
-namespace IPC {
-class Message;
-}
-
namespace base {
class DictionaryValue;
}
@@ -31,8 +28,9 @@
// profile.
class ExternalProcessImporterBridge : public ImporterBridge {
public:
- explicit ExternalProcessImporterBridge(
- const base::DictionaryValue& localized_strings);
+ ExternalProcessImporterBridge(
+ const base::DictionaryValue& localized_strings,
+ IPC::Message::Sender* sender);
// Begin ImporterBridge implementation:
virtual void AddBookmarks(
@@ -75,6 +73,8 @@
// bundle isn't available to the external process.
scoped_ptr<base::DictionaryValue> localized_strings_;
+ IPC::Message::Sender* sender_;
+
DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge);
};
« no previous file with comments | « no previous file | chrome/browser/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698