| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 5 #ifndef CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
| 6 #define CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 6 #define CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // This is only valid once Initialize() has been called. This MUST be defined | 73 // This is only valid once Initialize() has been called. This MUST be defined |
| 74 // before backend_impl_ since the latter maintains a (non-refcounted) pointer | 74 // before backend_impl_ since the latter maintains a (non-refcounted) pointer |
| 75 // to it. | 75 // to it. |
| 76 scoped_refptr<ChromeAppCacheService> appcache_service_; | 76 scoped_refptr<ChromeAppCacheService> appcache_service_; |
| 77 | 77 |
| 78 AppCacheFrontendProxy frontend_proxy_; | 78 AppCacheFrontendProxy frontend_proxy_; |
| 79 appcache::AppCacheBackendImpl backend_impl_; | 79 appcache::AppCacheBackendImpl backend_impl_; |
| 80 | 80 |
| 81 // Temporary until OnChannelConnected() can be called from the IO thread, | 81 // Temporary until OnChannelConnected() can be called from the IO thread, |
| 82 // which will extract the AppCacheService from the URLRequestContext. | 82 // which will extract the AppCacheService from the net::URLRequestContext. |
| 83 scoped_refptr<net::URLRequestContext> request_context_; | 83 scoped_refptr<net::URLRequestContext> request_context_; |
| 84 scoped_refptr<URLRequestContextGetter> request_context_getter_; | 84 scoped_refptr<URLRequestContextGetter> request_context_getter_; |
| 85 | 85 |
| 86 scoped_ptr<appcache::GetStatusCallback> get_status_callback_; | 86 scoped_ptr<appcache::GetStatusCallback> get_status_callback_; |
| 87 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; | 87 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; |
| 88 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; | 88 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; |
| 89 scoped_ptr<IPC::Message> pending_reply_msg_; | 89 scoped_ptr<IPC::Message> pending_reply_msg_; |
| 90 | 90 |
| 91 // The corresponding ChildProcessHost object's id(). | 91 // The corresponding ChildProcessHost object's id(). |
| 92 int process_id_; | 92 int process_id_; |
| 93 | 93 |
| 94 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); | 94 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 97 #endif // CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
| OLD | NEW |