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_UTILITY_PROCESS_HOST_H_ | 5 #ifndef CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ |
6 #define CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ | 6 #define CHROME_BROWSER_UTILITY_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 "base/task.h" |
14 #include "chrome/browser/browser_child_process_host.h" | 15 #include "chrome/browser/browser_child_process_host.h" |
15 #include "chrome/browser/browser_thread.h" | 16 #include "chrome/browser/browser_thread.h" |
16 #include "chrome/common/extensions/update_manifest.h" | 17 #include "chrome/common/extensions/update_manifest.h" |
17 #include "ipc/ipc_channel.h" | 18 #include "ipc/ipc_channel.h" |
18 | 19 |
19 class DictionaryValue; | 20 class DictionaryValue; |
20 class IndexedDBKey; | 21 class IndexedDBKey; |
21 class SerializedScriptValue; | 22 class SerializedScriptValue; |
22 class SkBitmap; | 23 class SkBitmap; |
23 | 24 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 scoped_refptr<Client> client_; | 165 scoped_refptr<Client> client_; |
165 BrowserThread::ID client_thread_id_; | 166 BrowserThread::ID client_thread_id_; |
166 // True when running in batch mode, i.e., StartBatchMode() has been called | 167 // True when running in batch mode, i.e., StartBatchMode() has been called |
167 // and the utility process will run until EndBatchMode(). | 168 // and the utility process will run until EndBatchMode(). |
168 bool is_batch_mode_; | 169 bool is_batch_mode_; |
169 | 170 |
170 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost); | 171 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHost); |
171 }; | 172 }; |
172 | 173 |
173 #endif // CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ | 174 #endif // CHROME_BROWSER_UTILITY_PROCESS_HOST_H_ |
OLD | NEW |