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

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

Issue 459233002: Browsing Data Deletion: Style fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-apply comment tweaks Created 6 years, 4 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 | Annotate | Revision Log
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 9
9 MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper( 10 MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper(
10 Profile* profile) 11 Profile* profile)
11 : BrowsingDataAppCacheHelper(profile) { 12 : BrowsingDataAppCacheHelper(profile) {
12 } 13 }
13 14
14 MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() { 15 MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() {
15 } 16 }
16 17
17 void MockBrowsingDataAppCacheHelper::StartFetching( 18 void MockBrowsingDataAppCacheHelper::StartFetching(
18 const base::Closure& completion_callback) { 19 const base::Closure& completion_callback) {
20 ASSERT_FALSE(completion_callback.is_null());
21 ASSERT_TRUE(completion_callback_.is_null());
19 completion_callback_ = completion_callback; 22 completion_callback_ = completion_callback;
20 } 23 }
21 24
22 void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup( 25 void MockBrowsingDataAppCacheHelper::DeleteAppCacheGroup(
23 const GURL& manifest_url) { 26 const GURL& manifest_url) {
24 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698