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

Unified Diff: webkit/appcache/appcache_group.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_group.cc
diff --git a/webkit/appcache/appcache_group.cc b/webkit/appcache/appcache_group.cc
index 0f9b4affc9af0ead35a26b105023be3f1c16a20a..ddfb2663a225aacc82e85860259f63c9da502d66 100644
--- a/webkit/appcache/appcache_group.cc
+++ b/webkit/appcache/appcache_group.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -264,4 +264,9 @@ void AppCacheGroup::SetUpdateStatus(UpdateStatus status) {
}
}
+void AppCacheGroup::NotifyContentBlocked() {
+ FOR_EACH_OBSERVER(
+ UpdateObserver, observers_, OnContentBlocked(this));
+}
+
} // namespace appcache

Powered by Google App Engine
This is Rietveld 408576698