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

Side by Side Diff: chrome/browser/importer/external_process_importer_client.h

Issue 17245003: Copy SourceProfile into ExternalProcessImporterClient instead of using a const& since the original … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_
6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ 6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // import data. When the import process is done, process_importer_host_ 110 // import data. When the import process is done, process_importer_host_
111 // deletes itself. 111 // deletes itself.
112 ExternalProcessImporterHost* process_importer_host_; 112 ExternalProcessImporterHost* process_importer_host_;
113 113
114 // Handles sending messages to the external process. Deletes itself when 114 // Handles sending messages to the external process. Deletes itself when
115 // the external process dies (see 115 // the external process dies (see
116 // BrowserChildProcessHost::OnChildDisconnected). 116 // BrowserChildProcessHost::OnChildDisconnected).
117 base::WeakPtr<content::UtilityProcessHost> utility_process_host_; 117 base::WeakPtr<content::UtilityProcessHost> utility_process_host_;
118 118
119 // Data to be passed from the importer host to the external importer. 119 // Data to be passed from the importer host to the external importer.
120 const importer::SourceProfile& source_profile_; 120 importer::SourceProfile source_profile_;
121 uint16 items_; 121 uint16 items_;
122 122
123 // Takes import data coming over IPC and delivers it to be written by the 123 // Takes import data coming over IPC and delivers it to be written by the
124 // ProfileWriter. 124 // ProfileWriter.
125 scoped_refptr<InProcessImporterBridge> bridge_; 125 scoped_refptr<InProcessImporterBridge> bridge_;
126 126
127 // True if import process has been cancelled. 127 // True if import process has been cancelled.
128 bool cancelled_; 128 bool cancelled_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterClient); 130 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterClient);
131 }; 131 };
132 132
133 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ 133 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698