OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/notifications/message_center_settings_controller.h" | 5 #include "chrome/browser/notifications/message_center_settings_controller.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/i18n/string_compare.h" | 12 #include "base/i18n/string_compare.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/task/cancelable_task_tracker.h" | 14 #include "base/task/cancelable_task_tracker.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "chrome/browser/browser_process.h" | 17 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/chrome_notification_types.h" | 18 #include "chrome/browser/chrome_notification_types.h" |
19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
20 #include "chrome/browser/extensions/extension_app_icon_loader.h" | 20 #include "chrome/browser/extensions/extension_app_icon_loader.h" |
21 #include "chrome/browser/favicon/favicon_service_factory.h" | 21 #include "chrome/browser/favicon/favicon_service_factory.h" |
22 #include "chrome/browser/notifications/desktop_notification_profile_util.h" | 22 #include "chrome/browser/notifications/desktop_notification_profile_util.h" |
23 #include "chrome/browser/notifications/notifier_state_tracker.h" | 23 #include "chrome/browser/notifications/notifier_state_tracker.h" |
24 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" | 24 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" |
25 #include "chrome/browser/profiles/profile.h" | 25 #include "chrome/browser/profiles/profile.h" |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 weak_factory_.GetWeakPtr())); | 561 weak_factory_.GetWeakPtr())); |
562 } | 562 } |
563 #endif | 563 #endif |
564 | 564 |
565 if (notify) { | 565 if (notify) { |
566 FOR_EACH_OBSERVER(message_center::NotifierSettingsObserver, | 566 FOR_EACH_OBSERVER(message_center::NotifierSettingsObserver, |
567 observers_, | 567 observers_, |
568 NotifierGroupChanged()); | 568 NotifierGroupChanged()); |
569 } | 569 } |
570 } | 570 } |
OLD | NEW |