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

Side by Side Diff: chrome/browser/notifications/arc_notifier_manager.h

Issue 2064363002: Refactor MessageCenterSettingsController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unrelated files from the patch. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
(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 class ArcNotifierManager {
25 public:
26 ArcNotifierManager() {}
27
28 // TODO(hirono): Rewrite the function with new API to fetch package list.
29 std::vector<std::unique_ptr<message_center::Notifier>> GetNotifiers(
30 content::BrowserContext* profile);
31 void SetNotifierEnabled(const std::string& package, bool enabled);
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(ArcNotifierManager);
35 };
36
37 } // namespace arc
38
39 #endif // CHROME_BROWSER_NOTIFICATIONS_ARC_NOTIFIER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698