OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 5 #ifndef WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ |
6 #define WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 6 #define WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include "webkit/appcache/appcache_interfaces.h" | 9 #include "webkit/appcache/appcache_interfaces.h" |
10 | 10 |
11 namespace appcache { | 11 namespace appcache { |
12 | 12 |
13 class AppCacheFrontendImpl : public AppCacheFrontend { | 13 class AppCacheFrontendImpl : public AppCacheFrontend { |
14 public: | 14 public: |
15 virtual void OnCacheSelected(int host_id, int64 cache_id , | 15 virtual void OnCacheSelected(int host_id, int64 cache_id, |
16 Status status); | 16 Status status); |
17 virtual void OnStatusChanged(const std::vector<int>& host_ids, | 17 virtual void OnStatusChanged(const std::vector<int>& host_ids, |
18 Status status); | 18 Status status); |
19 virtual void OnEventRaised(const std::vector<int>& host_ids, | 19 virtual void OnEventRaised(const std::vector<int>& host_ids, |
20 EventID event_id); | 20 EventID event_id); |
21 }; | 21 }; |
22 | 22 |
23 } // namespace | 23 } // namespace |
24 | 24 |
25 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ | 25 #endif // WEBKIT_APPCACHE_APPCACHE_FRONTEND_IMPL_H_ |
OLD | NEW |