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_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ | 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ |
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "ipc/ipc_sender.h" | 11 #include "ipc/ipc_sender.h" |
13 #include "webkit/appcache/appcache_interfaces.h" | 12 #include "webkit/appcache/appcache_interfaces.h" |
14 | 13 |
15 // Sends appcache related messages to a child process. | 14 // Sends appcache related messages to a child process. |
16 class AppCacheFrontendProxy : public appcache::AppCacheFrontend { | 15 class AppCacheFrontendProxy : public appcache::AppCacheFrontend { |
17 public: | 16 public: |
(...skipping 14 matching lines...) Expand all Loading... |
32 virtual void OnLogMessage(int host_id, appcache::LogLevel log_level, | 31 virtual void OnLogMessage(int host_id, appcache::LogLevel log_level, |
33 const std::string& message) OVERRIDE; | 32 const std::string& message) OVERRIDE; |
34 virtual void OnContentBlocked(int host_id, | 33 virtual void OnContentBlocked(int host_id, |
35 const GURL& manifest_url) OVERRIDE; | 34 const GURL& manifest_url) OVERRIDE; |
36 | 35 |
37 private: | 36 private: |
38 IPC::Sender* sender_; | 37 IPC::Sender* sender_; |
39 }; | 38 }; |
40 | 39 |
41 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ | 40 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ |
OLD | NEW |