OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/process.h" | 12 #include "base/process/process.h" |
13 #include "content/browser/appcache/appcache_frontend_proxy.h" | 13 #include "content/browser/appcache/appcache_frontend_proxy.h" |
14 #include "content/public/browser/browser_message_filter.h" | 14 #include "content/public/browser/browser_message_filter.h" |
15 #include "webkit/browser/appcache/appcache_backend_impl.h" | 15 #include "webkit/browser/appcache/appcache_backend_impl.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class ChromeAppCacheService; | 18 class ChromeAppCacheService; |
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 BrowserRenderProcessHost and | 22 // Messages are handled on the IO thread. The BrowserRenderProcessHost and |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 // The corresponding ChildProcessHost object's id(). | 73 // The corresponding ChildProcessHost object's id(). |
74 int process_id_; | 74 int process_id_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); | 76 DISALLOW_COPY_AND_ASSIGN(AppCacheDispatcherHost); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace content | 79 } // namespace content |
80 | 80 |
81 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ | 81 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_DISPATCHER_HOST_H_ |
OLD | NEW |