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 WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 5 #ifndef WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ |
6 #define WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 6 #define WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "webkit/common/appcache/appcache_interfaces.h" | 11 #include "webkit/common/appcache/appcache_interfaces.h" |
12 #include "webkit/storage/webkit_storage_export.h" | 12 #include "webkit/renderer/webkit_storage_renderer_export.h" |
13 | 13 |
14 namespace appcache { | 14 namespace appcache { |
15 | 15 |
16 class WEBKIT_STORAGE_EXPORT AppCacheFrontendImpl : public AppCacheFrontend { | 16 class WEBKIT_STORAGE_RENDERER_EXPORT AppCacheFrontendImpl |
| 17 : public AppCacheFrontend { |
17 public: | 18 public: |
18 virtual void OnCacheSelected( | 19 virtual void OnCacheSelected( |
19 int host_id, const appcache::AppCacheInfo& info) OVERRIDE; | 20 int host_id, const appcache::AppCacheInfo& info) OVERRIDE; |
20 virtual void OnStatusChanged(const std::vector<int>& host_ids, | 21 virtual void OnStatusChanged(const std::vector<int>& host_ids, |
21 Status status) OVERRIDE; | 22 Status status) OVERRIDE; |
22 virtual void OnEventRaised(const std::vector<int>& host_ids, | 23 virtual void OnEventRaised(const std::vector<int>& host_ids, |
23 EventID event_id) OVERRIDE; | 24 EventID event_id) OVERRIDE; |
24 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, | 25 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, |
25 const GURL& url, | 26 const GURL& url, |
26 int num_total, int num_complete) OVERRIDE; | 27 int num_total, int num_complete) OVERRIDE; |
27 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, | 28 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, |
28 const std::string& message) OVERRIDE; | 29 const std::string& message) OVERRIDE; |
29 virtual void OnLogMessage(int host_id, LogLevel log_level, | 30 virtual void OnLogMessage(int host_id, LogLevel log_level, |
30 const std::string& message) OVERRIDE; | 31 const std::string& message) OVERRIDE; |
31 virtual void OnContentBlocked(int host_id, const GURL& manifest_url) OVERRIDE; | 32 virtual void OnContentBlocked(int host_id, const GURL& manifest_url) OVERRIDE; |
32 }; | 33 }; |
33 | 34 |
34 } // namespace | 35 } // namespace |
35 | 36 |
36 #endif // WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 37 #endif // WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ |
OLD | NEW |