1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_CHILD_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
6 #define CONTENT_CHILD_APPCACHE_APPCACHE_FRONTEND_IMPL_H_
8 #include "webkit/common/appcache/appcache_interfaces.h"
12 class AppCacheFrontendImpl
: public appcache::AppCacheFrontend
{
14 virtual void OnCacheSelected(int host_id
,
15 const appcache::AppCacheInfo
& info
) OVERRIDE
;
16 virtual void OnStatusChanged(const std::vector
<int>& host_ids
,
17 appcache::Status status
) OVERRIDE
;
18 virtual void OnEventRaised(const std::vector
<int>& host_ids
,
19 appcache::EventID event_id
) OVERRIDE
;
20 virtual void OnProgressEventRaised(const std::vector
<int>& host_ids
,
23 int num_complete
) OVERRIDE
;
24 virtual void OnErrorEventRaised(const std::vector
<int>& host_ids
,
25 const appcache::ErrorDetails
& details
)
27 virtual void OnLogMessage(int host_id
,
28 appcache::LogLevel log_level
,
29 const std::string
& message
) OVERRIDE
;
30 virtual void OnContentBlocked(int host_id
, const GURL
& manifest_url
) OVERRIDE
;
33 } // namespace content
35 #endif // CONTENT_CHILD_APPCACHE_APPCACHE_FRONTEND_IMPL_H_