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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover_browsertest.cc

Issue 11238034: Added completion notification to Profile's ClearNetworkingHistorySince. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final touches. Created 8 years, 2 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/browsing_data_remover_browsertest.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc b/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
index 39b2a200386afc8613a09d688f2d96101c3c5e8c..0568a57160296a86742bbea4e001fbdacea287ca 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_browsertest.cc
@@ -112,3 +112,8 @@ IN_PROC_BROWSER_TEST_F(BrowsingDataRemoverBrowserTest, Database) {
RunScriptAndCheckResult(L"insertRecord('text2')", "done");
RunScriptAndCheckResult(L"getRecords()", "text2");
}
+
+// Profile::ClearNetworkingHistorySince should be exercised here too see whether
+// the call gets delegated through ProfileIO[Impl]Data properly, which is hard
+// to write unit-tests for. Currently this is done by both of the above tests.
+// Add standalone test if this changes.

Powered by Google App Engine
This is Rietveld 408576698