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

Unified Diff: webkit/appcache/appcache_update_job_unittest.cc

Issue 1600002: Indicate in the tab UI if appcache creation was blocked by privacy settings. (Closed)
Patch Set: updates Created 10 years, 8 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: webkit/appcache/appcache_update_job_unittest.cc
diff --git a/webkit/appcache/appcache_update_job_unittest.cc b/webkit/appcache/appcache_update_job_unittest.cc
index 2ce47b1b100ec889fe9c609beffa82176ebc7759..243d3c3a355e2c1bc197a79b8ebbf6483e69bb8d 100644
--- a/webkit/appcache/appcache_update_job_unittest.cc
+++ b/webkit/appcache/appcache_update_job_unittest.cc
@@ -50,6 +50,9 @@ class MockFrontend : public AppCacheFrontend {
}
}
+ virtual void OnContentBlocked(int host_id) {
+ }
+
void AddExpectedEvent(const std::vector<int>& host_ids, EventID event_id) {
expected_events_.push_back(RaisedEvent(host_ids, event_id));
}
@@ -2559,6 +2562,9 @@ class AppCacheUpdateJobTest : public testing::Test,
UpdateFinished();
}
+ void OnContentBlocked(AppCacheGroup* group) {
+ }
+
void UpdateFinished() {
// We unwind the stack prior to finishing up to let stack-based objects
// get deleted.

Powered by Google App Engine
This is Rietveld 408576698