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

Side by Side Diff: apps/shell/browser/shell_extension_system.h

Issue 336263002: Adds an item for loaded app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 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
« no previous file with comments | « no previous file | athena/athena.gyp » ('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 APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 6 #define APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 27 matching lines...) Expand all
38 38
39 // Loads an unpacked application from a directory. Returns true on success. 39 // Loads an unpacked application from a directory. Returns true on success.
40 bool LoadApp(const base::FilePath& app_dir); 40 bool LoadApp(const base::FilePath& app_dir);
41 41
42 // Launch the currently loaded app. 42 // Launch the currently loaded app.
43 void LaunchApp(); 43 void LaunchApp();
44 44
45 // KeyedService implementation: 45 // KeyedService implementation:
46 virtual void Shutdown() OVERRIDE; 46 virtual void Shutdown() OVERRIDE;
47 47
48 scoped_refptr<Extension> extension() { return extension_; }
49
48 // ExtensionSystem implementation: 50 // ExtensionSystem implementation:
49 virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE; 51 virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE;
50 virtual ExtensionService* extension_service() OVERRIDE; 52 virtual ExtensionService* extension_service() OVERRIDE;
51 virtual RuntimeData* runtime_data() OVERRIDE; 53 virtual RuntimeData* runtime_data() OVERRIDE;
52 virtual ManagementPolicy* management_policy() OVERRIDE; 54 virtual ManagementPolicy* management_policy() OVERRIDE;
53 virtual UserScriptMaster* user_script_master() OVERRIDE; 55 virtual UserScriptMaster* user_script_master() OVERRIDE;
54 virtual ProcessManager* process_manager() OVERRIDE; 56 virtual ProcessManager* process_manager() OVERRIDE;
55 virtual StateStore* state_store() OVERRIDE; 57 virtual StateStore* state_store() OVERRIDE;
56 virtual StateStore* rules_store() OVERRIDE; 58 virtual StateStore* rules_store() OVERRIDE;
57 virtual InfoMap* info_map() OVERRIDE; 59 virtual InfoMap* info_map() OVERRIDE;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 94
93 // Signaled when the extension system has completed its startup tasks. 95 // Signaled when the extension system has completed its startup tasks.
94 OneShotEvent ready_; 96 OneShotEvent ready_;
95 97
96 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); 98 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem);
97 }; 99 };
98 100
99 } // namespace extensions 101 } // namespace extensions
100 102
101 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 103 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | athena/athena.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698