From f26795ebb86f6bcd4da9d4971e252eea933cfdf3 Mon Sep 17 00:00:00 2001 From: "michaeln@chromium.org" Date: Fri, 26 Feb 2010 23:45:35 +0000 Subject: Teach the cookie tree view and model about appcaches. Not hooked up to real data yet, but the view and model pieces are in place for windows and gtk (not yet done for the mac). Also adds a 'name' attribute to database details pane, cleans up the layout of the detail panes on windows. BUG=25977 TEST=manual Review URL: http://codereview.chromium.org/650110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40181 0039d316-1c4b-4281-b951-d872f2087c98 --- .../browser/mock_browsing_data_appcache_helper.cc | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 chrome/browser/mock_browsing_data_appcache_helper.cc (limited to 'chrome/browser/mock_browsing_data_appcache_helper.cc') diff --git a/chrome/browser/mock_browsing_data_appcache_helper.cc b/chrome/browser/mock_browsing_data_appcache_helper.cc new file mode 100644 index 0000000..1dccff4 --- /dev/null +++ b/chrome/browser/mock_browsing_data_appcache_helper.cc @@ -0,0 +1,29 @@ +// 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. + +#include "chrome/browser/mock_browsing_data_appcache_helper.h" + +#include "base/callback.h" +#include "base/logging.h" + +MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper( + Profile* profile) + : BrowsingDataAppCacheHelper(profile) { +} + +MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() { +} + +void MockBrowsingDataAppCacheHelper::StartFetching( + Callback0::Type* completion_callback) { + completion_callback_.reset(completion_callback); +} + +void MockBrowsingDataAppCacheHelper::CancelNotification() { + completion_callback_.reset(NULL); +} + +void MockBrowsingDataAppCacheHelper::DeleteAppCache(int64 group_id) { +} + -- cgit v1.1