cef/libcef/browser_appcache_system.h

26 lines
774 B
C
Raw Normal View History

// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
// source code is governed by a BSD-style license that can be found in the
// LICENSE file.
#ifndef _BROWSER_APPCACHE_SYSTEM_H
#define _BROWSER_APPCACHE_SYSTEM_H
#include "webkit/appcache/appcache_backend_impl.h"
#include "webkit/appcache/appcache_frontend_impl.h"
class BrowserAppCacheSystem {
public:
void Initialize() {
backend_impl_.Initialize(NULL, &frontend_impl_);
}
appcache::AppCacheBackend* backend() { return &backend_impl_; }
appcache::AppCacheFrontend* frontend() { return &frontend_impl_; }
private:
appcache::AppCacheBackendImpl backend_impl_;
appcache::AppCacheFrontendImpl frontend_impl_;
};
#endif // _BROWSER_APPCACHE_SYSTEM_H