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

Unified Diff: chrome/browser/notifications/message_center_settings_controller.h

Issue 12879016: Keep the obtained url patterns for notification settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/notifications/message_center_settings_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/message_center_settings_controller.h
diff --git a/chrome/browser/notifications/message_center_settings_controller.h b/chrome/browser/notifications/message_center_settings_controller.h
index 2c8a9f4c27dba252cfafc726f3fe97e1b0cc1ce8..a57b7a1d8e1bbea215bc8974ef5864a315bee39f 100644
--- a/chrome/browser/notifications/message_center_settings_controller.h
+++ b/chrome/browser/notifications/message_center_settings_controller.h
@@ -5,12 +5,14 @@
#ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_
#define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_
+#include <map>
#include <vector>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/app_icon_loader.h"
#include "chrome/browser/history/history_types.h"
+#include "chrome/common/content_settings.h"
#include "ui/message_center/notifier_settings.h"
class CancelableTaskTracker;
@@ -55,6 +57,8 @@ class MessageCenterSettingsController
scoped_ptr<extensions::AppIconLoader> app_icon_loader_;
+ std::map<string16, ContentSettingsPattern> patterns_;
+
DISALLOW_COPY_AND_ASSIGN(MessageCenterSettingsController);
};
« no previous file with comments | « no previous file | chrome/browser/notifications/message_center_settings_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698