Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: chrome/common/appcache/appcache_backend_proxy.h

Issue 6691002: Move AppCache common code to content and split off AppCache messages into the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/appcache/appcache_backend_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/appcache/appcache_backend_proxy.h
===================================================================
--- chrome/common/appcache/appcache_backend_proxy.h (revision 77976)
+++ chrome/common/appcache/appcache_backend_proxy.h (working copy)
@@ -1,47 +0,0 @@
-// 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 CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
-#define CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
-#pragma once
-
-#include "ipc/ipc_message.h"
-#include "webkit/appcache/appcache_interfaces.h"
-
-// Sends appcache related messages to the main process.
-class AppCacheBackendProxy : public appcache::AppCacheBackend {
- public:
- explicit AppCacheBackendProxy(IPC::Message::Sender* sender)
- : sender_(sender) {}
-
- IPC::Message::Sender* sender() const { return sender_; }
-
- // AppCacheBackend methods
- virtual void RegisterHost(int host_id);
- virtual void UnregisterHost(int host_id);
- virtual void SelectCache(int host_id,
- const GURL& document_url,
- const int64 cache_document_was_loaded_from,
- const GURL& manifest_url);
- virtual void SelectCacheForWorker(
- int host_id,
- int parent_process_id,
- int parent_host_id);
- virtual void SelectCacheForSharedWorker(
- int host_id,
- int64 appcache_id);
- virtual void MarkAsForeignEntry(int host_id, const GURL& document_url,
- int64 cache_document_was_loaded_from);
- virtual appcache::Status GetStatus(int host_id);
- virtual bool StartUpdate(int host_id);
- virtual bool SwapCache(int host_id);
- virtual void GetResourceList(
- int host_id,
- std::vector<appcache::AppCacheResourceInfo>* resource_infos);
-
- private:
- IPC::Message::Sender* sender_;
-};
-
-#endif // CHROME_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/appcache/appcache_backend_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698