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

Side by Side Diff: chrome/browser/apps/shortcut_manager.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/apps/chrome_apps_client.cc ('k') | chrome/browser/apps/web_view_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APPS_SHORTCUT_MANAGER_H_ 5 #ifndef CHROME_BROWSER_APPS_SHORTCUT_MANAGER_H_
6 #define CHROME_BROWSER_APPS_SHORTCUT_MANAGER_H_ 6 #define CHROME_BROWSER_APPS_SHORTCUT_MANAGER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/profiles/profile_info_cache_observer.h" 9 #include "chrome/browser/profiles/profile_info_cache_observer.h"
10 #include "chrome/common/extensions/extension.h"
11 #include "components/browser_context_keyed_service/browser_context_keyed_service .h" 10 #include "components/browser_context_keyed_service/browser_context_keyed_service .h"
12 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
13 #include "content/public/browser/notification_registrar.h" 12 #include "content/public/browser/notification_registrar.h"
13 #include "extensions/common/extension.h"
14 14
15 class PrefService; 15 class PrefService;
16 class Profile; 16 class Profile;
17 17
18 namespace user_prefs { 18 namespace user_prefs {
19 class PrefRegistrySyncable; 19 class PrefRegistrySyncable;
20 } 20 }
21 21
22 // This class manages the installation of shortcuts for platform apps. 22 // This class manages the installation of shortcuts for platform apps.
23 class AppShortcutManager : public BrowserContextKeyedService, 23 class AppShortcutManager : public BrowserContextKeyedService,
(...skipping 27 matching lines...) Expand all
51 bool is_profile_info_cache_observer_; 51 bool is_profile_info_cache_observer_;
52 PrefService* prefs_; 52 PrefService* prefs_;
53 53
54 // Fields used when installing application shortcuts. 54 // Fields used when installing application shortcuts.
55 base::WeakPtrFactory<AppShortcutManager> weak_factory_; 55 base::WeakPtrFactory<AppShortcutManager> weak_factory_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(AppShortcutManager); 57 DISALLOW_COPY_AND_ASSIGN(AppShortcutManager);
58 }; 58 };
59 59
60 #endif // CHROME_BROWSER_APPS_SHORTCUT_MANAGER_H_ 60 #endif // CHROME_BROWSER_APPS_SHORTCUT_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/apps/chrome_apps_client.cc ('k') | chrome/browser/apps/web_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698