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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc
diff --git a/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc b/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc
index 52f87d3cae2e99a8f2a1ec9402295c220434590f..7e70850ad16ddd3b355f8f36f92d75a5eb27f326 100644
--- a/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc
+++ b/chrome/browser/browsing_data/mock_browsing_data_appcache_helper.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/browsing_data/mock_browsing_data_appcache_helper.h"
#include "base/callback.h"
+#include "testing/gtest/include/gtest/gtest.h"
MockBrowsingDataAppCacheHelper::MockBrowsingDataAppCacheHelper(
Profile* profile)
@@ -16,6 +17,8 @@ MockBrowsingDataAppCacheHelper::~MockBrowsingDataAppCacheHelper() {
void MockBrowsingDataAppCacheHelper::StartFetching(
const base::Closure& completion_callback) {
+ ASSERT_FALSE(completion_callback.is_null());
+ ASSERT_TRUE(completion_callback_.is_null());
completion_callback_ = completion_callback;
}

Powered by Google App Engine
This is Rietveld 408576698