summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notifications_prefs_cache.cc
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 20:00:48 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-30 20:00:48 +0000
commiteeba91ac5369e2e11b5a8dece974399de09454aa (patch)
treecf67422daadd0186670fa1b6f2199e8d48c28ad5 /chrome/browser/notifications/notifications_prefs_cache.cc
parent5c4c7402c5264a38aa3a25e0e17caaf3222e5a61 (diff)
downloadchromium_src-eeba91ac5369e2e11b5a8dece974399de09454aa.zip
chromium_src-eeba91ac5369e2e11b5a8dece974399de09454aa.tar.gz
chromium_src-eeba91ac5369e2e11b5a8dece974399de09454aa.tar.bz2
Need to load the permissions lists every time at startup for notifications.
BUG=26274 TEST=grant notifications permissions and restart browser Review URL: http://codereview.chromium.org/339077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30623 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notifications_prefs_cache.cc')
-rw-r--r--chrome/browser/notifications/notifications_prefs_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/notifications_prefs_cache.cc b/chrome/browser/notifications/notifications_prefs_cache.cc
index c5663e4..3ff90d7 100644
--- a/chrome/browser/notifications/notifications_prefs_cache.cc
+++ b/chrome/browser/notifications/notifications_prefs_cache.cc
@@ -11,7 +11,7 @@
#include "webkit/api/public/WebNotificationPresenter.h"
NotificationsPrefsCache::NotificationsPrefsCache(
- ListValue* allowed, ListValue* denied) {
+ const ListValue* allowed, const ListValue* denied) {
ListValue::const_iterator i;
std::wstring origin;
if (allowed) {