| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COMMON_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 5 #ifndef CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
| 6 #define CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 6 #define CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/process.h" | 10 #include "base/process.h" |
| 11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "chrome/common/appcache/appcache_frontend_proxy.h" | 13 #include "chrome/browser/appcache/appcache_frontend_proxy.h" |
| 14 #include "ipc/ipc_message.h" | 14 #include "ipc/ipc_message.h" |
| 15 #include "webkit/appcache/appcache_backend_impl.h" | 15 #include "webkit/appcache/appcache_backend_impl.h" |
| 16 | 16 |
| 17 class ChromeAppCacheService; | 17 class ChromeAppCacheService; |
| 18 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
| 19 | 19 |
| 20 // Handles appcache related messages sent to the main browser process from | 20 // Handles appcache related messages sent to the main browser process from |
| 21 // its child processes. There is a distinct host for each child process. | 21 // its child processes. There is a distinct host for each child process. |
| 22 // Messages are handled on the IO thread. The ResourceMessageFilter creates | 22 // Messages are handled on the IO thread. The ResourceMessageFilter creates |
| 23 // an instance and delegates calls to it. | 23 // an instance and delegates calls to it. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 scoped_ptr<appcache::GetStatusCallback> get_status_callback_; | 69 scoped_ptr<appcache::GetStatusCallback> get_status_callback_; |
| 70 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; | 70 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; |
| 71 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; | 71 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; |
| 72 base::ProcessHandle process_handle_; | 72 base::ProcessHandle process_handle_; |
| 73 scoped_ptr<IPC::Message> pending_reply_msg_; | 73 scoped_ptr<IPC::Message> pending_reply_msg_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); | 75 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif // CHROME_COMMON_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 78 #endif // CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
| OLD | NEW |