diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 22:11:42 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-21 22:11:42 +0000 |
commit | e16b8af74c13f79282c608042d92fc1000fb5e62 (patch) | |
tree | 98d6594941193b24caaf66bd956fc1ea9eef0b58 /webkit/appcache/appcache_backend_impl.cc | |
parent | 778574e9b16cb9438b5edb364e45bd88b02b2483 (diff) | |
download | chromium_src-e16b8af74c13f79282c608042d92fc1000fb5e62.zip chromium_src-e16b8af74c13f79282c608042d92fc1000fb5e62.tar.gz chromium_src-e16b8af74c13f79282c608042d92fc1000fb5e62.tar.bz2 |
Plumbing to support loading from the "most appropriate" appcache.
BUG=68479
Review URL: http://codereview.chromium.org/6667057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_backend_impl.cc')
-rw-r--r-- | webkit/appcache/appcache_backend_impl.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_backend_impl.cc b/webkit/appcache/appcache_backend_impl.cc index a9349fa..8ada332 100644 --- a/webkit/appcache/appcache_backend_impl.cc +++ b/webkit/appcache/appcache_backend_impl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -53,6 +53,17 @@ bool AppCacheBackendImpl::UnregisterHost(int id) { return true; } +bool AppCacheBackendImpl::SetSpawningHostId( + int host_id, + int spawning_host_id) { + AppCacheHost* host = GetHost(host_id); + if (!host) + return false; + // TODO(michaeln): Write me, see the bug for details. + // http://code.google.com/p/chromium/issues/detail?id=68479 + return true; +} + bool AppCacheBackendImpl::SelectCache( int host_id, const GURL& document_url, |