| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_ARC_NOTIFIER_MANAGER_H_ | |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_ARC_NOTIFIER_MANAGER_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 #include <string> | |
| 10 #include <vector> | |
| 11 | |
| 12 #include "base/macros.h" | |
| 13 | |
| 14 namespace content { | |
| 15 class BrowserContext; | |
| 16 } | |
| 17 | |
| 18 namespace message_center { | |
| 19 struct Notifier; | |
| 20 } | |
| 21 | |
| 22 namespace arc { | |
| 23 | |
| 24 // TODO(hirono): Observe enabled flag change and notify it to message center. | |
| 25 class ArcNotifierManager { | |
| 26 public: | |
| 27 ArcNotifierManager() {} | |
| 28 | |
| 29 // TODO(hirono): Rewrite the function with new API to fetch package list. | |
| 30 std::vector<std::unique_ptr<message_center::Notifier>> GetNotifiers( | |
| 31 content::BrowserContext* profile); | |
| 32 void SetNotifierEnabled(const std::string& package, bool enabled); | |
| 33 | |
| 34 private: | |
| 35 DISALLOW_COPY_AND_ASSIGN(ArcNotifierManager); | |
| 36 }; | |
| 37 | |
| 38 } // namespace arc | |
| 39 | |
| 40 #endif // CHROME_BROWSER_NOTIFICATIONS_ARC_NOTIFIER_MANAGER_H_ | |
| OLD | NEW |