Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / browsing_data / mock_browsing_data_appcache_helper.cc
index 52f87d3..7e70850 100644 (file)
@@ -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;
 }