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

Side by Side Diff: apps/app_load_service.cc

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 | « apps/app_lifetime_monitor.cc ('k') | apps/app_restore_service.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 #include "apps/app_load_service.h" 5 #include "apps/app_load_service.h"
6 6
7 #include "apps/app_load_service_factory.h" 7 #include "apps/app_load_service_factory.h"
8 #include "apps/launcher.h" 8 #include "apps/launcher.h"
9 #include "apps/shell_window_registry.h" 9 #include "apps/shell_window_registry.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
11 #include "chrome/browser/extensions/extension_host.h" 11 #include "chrome/browser/extensions/extension_host.h"
12 #include "chrome/browser/extensions/extension_prefs.h" 12 #include "chrome/browser/extensions/extension_prefs.h"
13 #include "chrome/browser/extensions/extension_service.h" 13 #include "chrome/browser/extensions/extension_service.h"
14 #include "chrome/browser/extensions/extension_system.h" 14 #include "chrome/browser/extensions/extension_system.h"
15 #include "chrome/browser/extensions/unpacked_installer.h" 15 #include "chrome/browser/extensions/unpacked_installer.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/common/extensions/extension.h"
18 #include "content/public/browser/notification_details.h" 17 #include "content/public/browser/notification_details.h"
19 #include "content/public/browser/notification_service.h" 18 #include "content/public/browser/notification_service.h"
20 #include "content/public/browser/notification_types.h" 19 #include "content/public/browser/notification_types.h"
20 #include "extensions/common/extension.h"
21 21
22 using extensions::Extension; 22 using extensions::Extension;
23 using extensions::ExtensionPrefs; 23 using extensions::ExtensionPrefs;
24 24
25 namespace apps { 25 namespace apps {
26 26
27 AppLoadService::PostReloadAction::PostReloadAction() 27 AppLoadService::PostReloadAction::PostReloadAction()
28 : action_type(LAUNCH), 28 : action_type(LAUNCH),
29 command_line(CommandLine::NO_PROGRAM) { 29 command_line(CommandLine::NO_PROGRAM) {
30 } 30 }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 Extension::DISABLE_RELOAD) != 0; 137 Extension::DISABLE_RELOAD) != 0;
138 } 138 }
139 return false; 139 return false;
140 } 140 }
141 141
142 bool AppLoadService::HasPostReloadAction(const std::string& extension_id) { 142 bool AppLoadService::HasPostReloadAction(const std::string& extension_id) {
143 return post_reload_actions_.find(extension_id) != post_reload_actions_.end(); 143 return post_reload_actions_.find(extension_id) != post_reload_actions_.end();
144 } 144 }
145 145
146 } // namespace apps 146 } // namespace apps
OLDNEW
« no previous file with comments | « apps/app_lifetime_monitor.cc ('k') | apps/app_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698