From 035545f333d5f508bee18782784b17c3d6889924 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Fri, 9 Apr 2010 13:10:21 +0000 Subject: Indicate in the tab UI if appcache creation was blocked by privacy settings. TEST=manual BUG=38362 Review URL: http://codereview.chromium.org/1600002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44079 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/appcache/appcache_group_unittest.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'webkit/appcache/appcache_group_unittest.cc') diff --git a/webkit/appcache/appcache_group_unittest.cc b/webkit/appcache/appcache_group_unittest.cc index 3508ace..9f86bc0b 100644 --- a/webkit/appcache/appcache_group_unittest.cc +++ b/webkit/appcache/appcache_group_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -33,6 +33,9 @@ class TestAppCacheFrontend : public appcache::AppCacheFrontend { appcache::EventID event_id) { } + virtual void OnContentBlocked(int host_id) { + } + int last_host_id_; int64 last_cache_id_; appcache::Status last_status_; @@ -52,6 +55,9 @@ class TestUpdateObserver : public AppCacheGroup::UpdateObserver { group_has_cache_ = group->HasCache(); } + virtual void OnContentBlocked(AppCacheGroup* group) { + } + bool update_completed_; bool group_has_cache_; }; -- cgit v1.1