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 CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
6 #define CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/process.h" | 11 #include "base/process.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "chrome/browser/appcache/appcache_frontend_proxy.h" | 14 #include "content/browser/appcache/appcache_frontend_proxy.h" |
15 #include "chrome/browser/browser_message_filter.h" | 15 #include "content/browser/browser_message_filter.h" |
16 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 16 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
17 #include "ipc/ipc_message.h" | |
18 #include "webkit/appcache/appcache_backend_impl.h" | 17 #include "webkit/appcache/appcache_backend_impl.h" |
19 | 18 |
20 class ChromeAppCacheService; | 19 class ChromeAppCacheService; |
21 class URLRequestContextGetter; | 20 class URLRequestContextGetter; |
22 | 21 |
23 namespace net { | 22 namespace net { |
24 class URLRequestContext; | 23 class URLRequestContext; |
25 } // namespace net | 24 } // namespace net |
26 | 25 |
27 // Handles appcache related messages sent to the main browser process from | 26 // Handles appcache related messages sent to the main browser process from |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; | 86 scoped_ptr<appcache::StartUpdateCallback> start_update_callback_; |
88 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; | 87 scoped_ptr<appcache::SwapCacheCallback> swap_cache_callback_; |
89 scoped_ptr<IPC::Message> pending_reply_msg_; | 88 scoped_ptr<IPC::Message> pending_reply_msg_; |
90 | 89 |
91 // The corresponding ChildProcessHost object's id(). | 90 // The corresponding ChildProcessHost object's id(). |
92 int process_id_; | 91 int process_id_; |
93 | 92 |
94 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); | 93 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); |
95 }; | 94 }; |
96 | 95 |
97 #endif // CHROME_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 96 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
OLD | NEW |