OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
jam
2013/08/09 03:54:29
please put all these moved appcache files to conte
tfarina
2013/08/09 21:49:18
Moved it over there and added OWNERS file.
| |
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 CONTENT_CHILD_APPCACHE_FRONTEND_IMPL_H_ |
6 #define WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 6 #define CONTENT_CHILD_APPCACHE_FRONTEND_IMPL_H_ |
7 | |
8 #include <string> | |
9 #include <vector> | |
10 | 7 |
11 #include "webkit/common/appcache/appcache_interfaces.h" | 8 #include "webkit/common/appcache/appcache_interfaces.h" |
12 #include "webkit/renderer/webkit_storage_renderer_export.h" | |
13 | 9 |
14 namespace appcache { | 10 namespace content { |
15 | 11 |
16 class WEBKIT_STORAGE_RENDERER_EXPORT AppCacheFrontendImpl | 12 class AppCacheFrontendImpl : public appcache::AppCacheFrontend { |
17 : public AppCacheFrontend { | |
18 public: | 13 public: |
19 virtual void OnCacheSelected( | 14 virtual void OnCacheSelected(int host_id, |
20 int host_id, const appcache::AppCacheInfo& info) OVERRIDE; | 15 const appcache::AppCacheInfo& info) OVERRIDE; |
21 virtual void OnStatusChanged(const std::vector<int>& host_ids, | 16 virtual void OnStatusChanged(const std::vector<int>& host_ids, |
22 Status status) OVERRIDE; | 17 appcache::Status status) OVERRIDE; |
23 virtual void OnEventRaised(const std::vector<int>& host_ids, | 18 virtual void OnEventRaised(const std::vector<int>& host_ids, |
24 EventID event_id) OVERRIDE; | 19 appcache::EventID event_id) OVERRIDE; |
25 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, | 20 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, |
26 const GURL& url, | 21 const GURL& url, |
27 int num_total, int num_complete) OVERRIDE; | 22 int num_total, |
23 int num_complete) OVERRIDE; | |
28 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, | 24 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, |
29 const std::string& message) OVERRIDE; | 25 const std::string& message) OVERRIDE; |
30 virtual void OnLogMessage(int host_id, LogLevel log_level, | 26 virtual void OnLogMessage(int host_id, |
27 appcache::LogLevel log_level, | |
31 const std::string& message) OVERRIDE; | 28 const std::string& message) OVERRIDE; |
32 virtual void OnContentBlocked(int host_id, const GURL& manifest_url) OVERRIDE; | 29 virtual void OnContentBlocked(int host_id, const GURL& manifest_url) OVERRIDE; |
33 }; | 30 }; |
34 | 31 |
35 } // namespace | 32 } // namespace content |
36 | 33 |
37 #endif // WEBKIT_RENDERER_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 34 #endif // CONTENT_CHILD_APPCACHE_FRONTEND_IMPL_H_ |
OLD | NEW |