| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_IMPORT_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ |
| 6 #define CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/ref_counted.h" | 13 #include "base/ref_counted.h" |
| 14 #include "chrome/browser/browser_child_process_host.h" | 14 #include "chrome/browser/browser_child_process_host.h" |
| 15 #include "chrome/browser/chrome_thread.h" | 15 #include "chrome/browser/browser_thread.h" |
| 16 #include "chrome/browser/history/history_types.h" | 16 #include "chrome/browser/history/history_types.h" |
| 17 #include "chrome/browser/importer/importer_data_types.h" | 17 #include "chrome/browser/importer/importer_data_types.h" |
| 18 #include "chrome/browser/importer/profile_writer.h" | 18 #include "chrome/browser/importer/profile_writer.h" |
| 19 #include "ipc/ipc_channel.h" | 19 #include "ipc/ipc_channel.h" |
| 20 | 20 |
| 21 namespace webkit_glue { | 21 namespace webkit_glue { |
| 22 struct PasswordForm; | 22 struct PasswordForm; |
| 23 } | 23 } |
| 24 | 24 |
| 25 // Browser-side host to a profile import process. This class lives only on | 25 // Browser-side host to a profile import process. This class lives only on |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 // Receives messages to be passed back to the importer host. | 135 // Receives messages to be passed back to the importer host. |
| 136 scoped_refptr<ImportProcessClient> import_process_client_; | 136 scoped_refptr<ImportProcessClient> import_process_client_; |
| 137 | 137 |
| 138 // The thread where the import_process_client_ lives. | 138 // The thread where the import_process_client_ lives. |
| 139 ChromeThread::ID thread_id_; | 139 ChromeThread::ID thread_id_; |
| 140 | 140 |
| 141 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessHost); | 141 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessHost); |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 #endif // CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ | 144 #endif // CHROME_BROWSER_PROFILE_IMPORT_PROCESS_HOST_H_ |
| OLD | NEW |