OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/shell_integration.h" | |
10 #include "chrome/common/extensions/extension.h" | 9 #include "chrome/common/extensions/extension.h" |
11 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
13 | 12 |
14 class Profile; | 13 class Profile; |
15 | 14 |
16 namespace extensions { | 15 namespace extensions { |
17 | 16 |
18 // This class manages the installation of shortcuts for platform apps. | 17 // This class manages the installation of shortcuts for platform apps. |
19 class AppShortcutManager : public content::NotificationObserver { | 18 class AppShortcutManager : public content::NotificationObserver { |
(...skipping 15 matching lines...) Expand all Loading... |
35 | 34 |
36 // Fields used when installing application shortcuts. | 35 // Fields used when installing application shortcuts. |
37 base::WeakPtrFactory<AppShortcutManager> weak_factory_; | 36 base::WeakPtrFactory<AppShortcutManager> weak_factory_; |
38 | 37 |
39 DISALLOW_COPY_AND_ASSIGN(AppShortcutManager); | 38 DISALLOW_COPY_AND_ASSIGN(AppShortcutManager); |
40 }; | 39 }; |
41 | 40 |
42 } // namespace extensions | 41 } // namespace extensions |
43 | 42 |
44 #endif // CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ | 43 #endif // CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ |
OLD | NEW |