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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_NOTIFICATIONS_ARC_APPLICATION_NOTIFIER_SOURCE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_ARC_APPLICATION_NOTIFIER_SOURCE_CHROMEOS_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_ARC_APPLICATION_NOTIFIER_SOURCE_CHROMEOS_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_ARC_APPLICATION_NOTIFIER_SOURCE_CHROMEOS_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "chrome/browser/notifications/notifier_source.h" 14 #include "chrome/browser/notifications/notifier_source.h"
15 #include "chrome/browser/ui/app_list/arc/arc_app_icon.h" 15 #include "chrome/browser/ui/app_list/arc/arc_app_icon.h"
16 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" 16 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace content {
21 class BrowserContext;
22 }
23
24 namespace message_center { 20 namespace message_center {
25 struct Notifier; 21 struct Notifier;
26 } 22 }
27 23
28 namespace arc { 24 namespace arc {
29 25
30 // TODO(hirono): Observe enabled flag change and notify it to message center. 26 // TODO(hirono): Observe enabled flag change and notify it to message center.
31 class ArcApplicationNotifierSourceChromeOS : public NotifierSource, 27 class ArcApplicationNotifierSourceChromeOS : public NotifierSource,
32 public ArcAppIcon::Observer, 28 public ArcAppIcon::Observer,
33 public ArcAppListPrefs::Observer { 29 public ArcAppListPrefs::Observer {
(...skipping 23 matching lines...) Expand all
57 53
58 NotifierSource::Observer* observer_; 54 NotifierSource::Observer* observer_;
59 std::vector<std::unique_ptr<ArcAppIcon>> icons_; 55 std::vector<std::unique_ptr<ArcAppIcon>> icons_;
60 std::map<std::string, std::string> package_to_app_ids_; 56 std::map<std::string, std::string> package_to_app_ids_;
61 Profile* last_profile_; 57 Profile* last_profile_;
62 }; 58 };
63 59
64 } // namespace arc 60 } // namespace arc
65 61
66 #endif // CHROME_BROWSER_NOTIFICATIONS_ARC_APPLICATION_NOTIFIER_SOURCE_CHROMEOS _H_ 62 #endif // CHROME_BROWSER_NOTIFICATIONS_ARC_APPLICATION_NOTIFIER_SOURCE_CHROMEOS _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698