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

Side by Side Diff: chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc

Issue 545243002: Clean up BrowsingDataAppCacheHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h" 5 #include "chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper( 10 MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper(
11 Profile* profile) 11 content::BrowserContext* browser_context)
12 : BrowsingDataAppCacheHelper(profile) { 12 : BrowsingDataAppCacheHelper(browser_context) {
13 } 13 }
14 14
15 MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() { 15 MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() {
16 } 16 }
17 17
18 void MockBrowsingDataAppCacheHelper::StartFetching( 18 void MockBrowsingDataAppCacheHelper::StartFetching(
19 const base::Closure& completion_callback) { 19 const base::Closure& completion_callback) {
20 ASSERT_FALSE(completion_callback.is_null()); 20 ASSERT_FALSE(completion_callback.is_null());
21 ASSERT_TRUE(completion_callback_.is_null()); 21 ASSERT_TRUE(completion_callback_.is_null());
22 completion_callback_ = completion_callback; 22 completion_callback_ = completion_callback;
23 } 23 }
24 24
25 void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup( 25 void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup(
26 const GURL& manifest_url) { 26 const GURL& manifest_url) {
27 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698