summaryrefslogtreecommitdiffstats
path: root/ui/message_center/notifier_settings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/message_center/notifier_settings.cc')
-rw-r--r--ui/message_center/notifier_settings.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/message_center/notifier_settings.cc b/ui/message_center/notifier_settings.cc
new file mode 100644
index 0000000..78246f5
--- /dev/null
+++ b/ui/message_center/notifier_settings.cc
@@ -0,0 +1,36 @@
+// Copyright (c) 2013 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.
+
+#include "ui/message_center/notifier_settings.h"
+
+namespace message_center {
+
+#if !defined(TOOLKIT_VIEWS)
+NotifierSettingsDelegate* ShowSettings(NotifierSettingsProvider* provider,
+ gfx::NativeView context) {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+#endif
+
+Notifier::Notifier(const std::string& id,
+ const string16& name,
+ bool enabled)
+ : id(id),
+ name(name),
+ enabled(enabled),
+ type(APPLICATION) {
+}
+
+Notifier::Notifier(const GURL& url, const string16& name, bool enabled)
+ : url(url),
+ name(name),
+ enabled(enabled),
+ type(WEB_PAGE) {
+}
+
+Notifier::~Notifier() {
+}
+
+} // namespace message_center