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 CONTENT_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ | 5 #ifndef CONTENT_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ |
6 #define CONTENT_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ | 6 #define CONTENT_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "content/common/appcache/appcache_backend_proxy.h" | 11 #include "content/common/appcache/appcache_backend_proxy.h" |
13 #include "ipc/ipc_listener.h" | 12 #include "ipc/ipc_listener.h" |
14 #include "webkit/appcache/appcache_frontend_impl.h" | 13 #include "webkit/appcache/appcache_frontend_impl.h" |
15 | 14 |
16 // Dispatches appcache related messages sent to a child process from the | 15 // Dispatches appcache related messages sent to a child process from the |
17 // main browser process. There is one instance per child process. Messages | 16 // main browser process. There is one instance per child process. Messages |
(...skipping 21 matching lines...) Expand all Loading... |
39 const std::string& message); | 38 const std::string& message); |
40 void OnLogMessage(int host_id, int log_level, const std::string& message); | 39 void OnLogMessage(int host_id, int log_level, const std::string& message); |
41 void OnContentBlocked(int host_id, | 40 void OnContentBlocked(int host_id, |
42 const GURL& manifest_url); | 41 const GURL& manifest_url); |
43 | 42 |
44 AppCacheBackendProxy backend_proxy_; | 43 AppCacheBackendProxy backend_proxy_; |
45 appcache::AppCacheFrontendImpl frontend_impl_; | 44 appcache::AppCacheFrontendImpl frontend_impl_; |
46 }; | 45 }; |
47 | 46 |
48 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ | 47 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_DISPATCHER_H_ |
OLD | NEW |