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

Side by Side Diff: chrome/browser/extensions/app_shortcut_manager.h

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
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 "apps/shell_integration.h"
8 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/shell_integration.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
11 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_registrar.h" 12 #include "content/public/browser/notification_registrar.h"
13 13
14 class Profile; 14 class Profile;
15 15
16 namespace extensions { 16 namespace extensions {
17 17
18 // This class manages the installation of shortcuts for platform apps. 18 // This class manages the installation of shortcuts for platform apps.
19 class AppShortcutManager : public content::NotificationObserver { 19 class AppShortcutManager : public content::NotificationObserver {
(...skipping 15 matching lines...) Expand all
35 35
36 // Fields used when installing application shortcuts. 36 // Fields used when installing application shortcuts.
37 base::WeakPtrFactory<AppShortcutManager> weak_factory_; 37 base::WeakPtrFactory<AppShortcutManager> weak_factory_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(AppShortcutManager); 39 DISALLOW_COPY_AND_ASSIGN(AppShortcutManager);
40 }; 40 };
41 41
42 } // namespace extensions 42 } // namespace extensions
43 43
44 #endif // CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_ 44 #endif // CHROME_BROWSER_EXTENSIONS_APP_SHORTCUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698